|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.lucene.ChunkCacheKey
public final class ChunkCacheKey
Used as a key to distinguish file chunk in cache.
Nested Class Summary | |
---|---|
static class |
ChunkCacheKey.Externalizer
|
Constructor Summary | |
---|---|
ChunkCacheKey(String indexName,
String fileName,
int chunkId,
int bufferSize)
|
Method Summary | |
---|---|
Object |
accept(KeyVisitor visitor)
|
boolean |
equals(Object obj)
|
int |
getBufferSize()
Get the bufferSize. |
int |
getChunkId()
Get the chunkId. |
String |
getFileName()
Get the fileName. |
String |
getIndexName()
Get the indexName. |
int |
hashCode()
|
String |
toString()
Changing the encoding could break backwards compatibility |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChunkCacheKey(String indexName, String fileName, int chunkId, int bufferSize)
Method Detail |
---|
public int getChunkId()
public int getBufferSize()
public String getIndexName()
getIndexName
in interface IndexScopedKey
public Object accept(KeyVisitor visitor) throws Exception
accept
in interface IndexScopedKey
Exception
public String getFileName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
LuceneKey2StringMapper.getKeyMapping(String)
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |