|
||||||||||
| 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)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
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)
| Method Detail |
|---|
public int getChunkId()
public String getIndexName()
public String getFileName()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class ObjectLuceneKey2StringMapper.getKeyMapping(String)
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||