@GridInternal public final class IgfsBlockKey extends Object implements Message, Externalizable, Comparable<IgfsBlockKey>
| Constructor and Description |
|---|
IgfsBlockKey()
Empty constructor required for
Externalizable. |
IgfsBlockKey(IgniteUuid fileId,
IgniteUuid affKey,
boolean evictExclude,
long blockId)
Constructs file's binary data block key.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteUuid |
affinityKey() |
int |
compareTo(IgfsBlockKey o) |
byte |
directType()
Gets message type.
|
boolean |
equals(Object o) |
boolean |
evictExclude() |
byte |
fieldsCount()
Gets fields count.
|
long |
getBlockId() |
IgniteUuid |
getFileId() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public IgfsBlockKey(IgniteUuid fileId, @Nullable IgniteUuid affKey, boolean evictExclude, long blockId)
fileId - File ID.affKey - Affinity key.evictExclude - Evict exclude flag.blockId - Block ID.public IgfsBlockKey()
Externalizable.public IgniteUuid getFileId()
public IgniteUuid affinityKey()
public boolean evictExclude()
public long getBlockId()
public int compareTo(@NotNull IgfsBlockKey o)
compareTo in interface Comparable<IgfsBlockKey>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizableIOExceptionpublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015