38 void setLength(int64_t length);
41 int64_t getLastModified();
42 void setLastModified(int64_t lastModified);
44 int64_t getSizeInBytes();
46 ByteArray addBuffer(int32_t size);
47 ByteArray getBuffer(int32_t index);
52 virtual ByteArray newBuffer(int32_t size);
int64_t lastModified
This is publicly modifiable via Directory.touchFile(), so direct access not supported.
Definition: RAMFile.h:33
boost::weak_ptr< RAMDirectory > RAMDirectoryWeakPtr
Definition: LuceneTypes.h:505
boost::shared_ptr< RAMDirectory > RAMDirectoryPtr
Definition: LuceneTypes.h:505
File used as buffer in RAMDirectory.
Definition: RAMFile.h:15
Base class for all Lucene classes.
Definition: LuceneObject.h:31
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
int64_t sizeInBytes
Definition: RAMFile.h:30
RAMDirectoryWeakPtr _directory
Definition: RAMFile.h:25
Collection< ByteArray > buffers
Definition: RAMFile.h:28