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 IndexScopedKey
public int getAffinitySegmentId()
IndexScopedKey
getAffinitySegmentId
in interface AffinityTaggedKey
getAffinitySegmentId
in interface IndexScopedKey
BuildContext.affinityLocationIntoSegment(int)
, or -1 when not explicitly set.public Object accept(KeyVisitor visitor) throws Exception
accept
in interface IndexScopedKey
Exception
public String toString()
toString
in class Object
LuceneKey2StringMapper.getKeyMapping(String)
Copyright © 2022 JBoss, a division of Red Hat. All rights reserved.