public final class ChunkCacheKey extends Object implements Serializable, IndexScopedKey
| Modifier and Type | Class and Description |
|---|---|
static class |
ChunkCacheKey.Externalizer |
| Constructor and Description |
|---|
ChunkCacheKey(String indexName,
String fileName,
int chunkId,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public int getChunkId()
public int getBufferSize()
public String getIndexName()
getIndexName in interface IndexScopedKeypublic Object accept(KeyVisitor visitor) throws Exception
accept in interface IndexScopedKeyExceptionpublic String getFileName()
public String toString()
toString in class ObjectLuceneKey2StringMapper.getKeyMapping(String)Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.