public final class FileReadLockKey extends Object implements IndexScopedKey
| Modifier and Type | Class and Description |
|---|---|
static class |
FileReadLockKey.Externalizer |
| Constructor and Description |
|---|
FileReadLockKey(String indexName,
String fileName,
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 |
getFileName()
Get the fileName.
|
String |
getIndexName()
Get the indexName.
|
int |
hashCode() |
String |
toString() |
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 String getFileName()
public Object accept(KeyVisitor visitor) throws Exception
accept in interface IndexScopedKeyExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.