public final class FileListCacheKey extends Object implements IndexScopedKey
| Modifier and Type | Class and Description |
|---|---|
static class |
FileListCacheKey.Externalizer |
| Constructor and Description |
|---|
FileListCacheKey(String indexName,
int affinitySegmentId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(KeyVisitor visitor) |
boolean |
equals(Object obj) |
int |
getAffinitySegmentId()
This numeric id is used exclusively for storage affinity in Infinispan.
|
String |
getIndexName()
Get the indexName.
|
int |
hashCode() |
String |
toString()
Changing the encoding could break backwards compatibility
|
public FileListCacheKey(String indexName, int affinitySegmentId)
public String getIndexName()
getIndexName in interface IndexScopedKeypublic int getAffinitySegmentId()
IndexScopedKeygetAffinitySegmentId in interface AffinityTaggedKeygetAffinitySegmentId in interface IndexScopedKeyBuildContext.affinityLocationIntoSegment(int), or -1 when not explicitly set.public Object accept(KeyVisitor visitor) throws Exception
accept in interface IndexScopedKeyExceptionpublic String toString()
toString in class ObjectLuceneKey2StringMapper.getKeyMapping(String)Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.