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