Package org.infinispan.lucene
Class FileMetadata
- java.lang.Object
-
- org.infinispan.lucene.FileMetadata
-
public final class FileMetadata extends Object
Header for Lucene files. Store only basic info about file. File data is divided into byte[] chunks and stored underChunkCacheKey
- Since:
- 4.0
- Author:
- Lukasz Moren
- See Also:
FileCacheKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileMetadata.Externalizer
-
Constructor Summary
Constructors Constructor Description FileMetadata(int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getBufferSize()
int
getNumberOfChunks()
long
getSize()
int
hashCode()
boolean
isMultiChunked()
void
setSize(long size)
String
toString()
-