public class MarshalledEntryImpl<K,V> extends Object implements MarshalledEntry<K,V>
Modifier and Type | Class and Description |
---|---|
static class |
MarshalledEntryImpl.Externalizer |
Constructor and Description |
---|
MarshalledEntryImpl(ByteBuffer key,
ByteBuffer valueBytes,
ByteBuffer metadataBytes,
StreamingMarshaller marshaller) |
MarshalledEntryImpl(K key,
ByteBuffer valueBytes,
ByteBuffer metadataBytes,
StreamingMarshaller marshaller) |
MarshalledEntryImpl(K key,
V value,
InternalMetadata im,
StreamingMarshaller sm) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
K |
getKey()
Returns the same key as
MarshalledEntry.getKeyBytes() , but unmarshalled. |
ByteBuffer |
getKeyBytes()
Returns the key in serialized format.
|
InternalMetadata |
getMetadata() |
ByteBuffer |
getMetadataBytes() |
V |
getValue()
Returns the same value as
MarshalledEntry.getKeyBytes() , but unmarshalled. |
ByteBuffer |
getValueBytes()
Returns the value in serialize format.
|
int |
hashCode() |
String |
toString() |
public MarshalledEntryImpl(ByteBuffer key, ByteBuffer valueBytes, ByteBuffer metadataBytes, StreamingMarshaller marshaller)
public MarshalledEntryImpl(K key, ByteBuffer valueBytes, ByteBuffer metadataBytes, StreamingMarshaller marshaller)
public MarshalledEntryImpl(K key, V value, InternalMetadata im, StreamingMarshaller sm)
public K getKey()
MarshalledEntry
MarshalledEntry.getKeyBytes()
, but unmarshalled.getKey
in interface MarshalledEntry<K,V>
public V getValue()
MarshalledEntry
MarshalledEntry.getKeyBytes()
, but unmarshalled.getValue
in interface MarshalledEntry<K,V>
public InternalMetadata getMetadata()
getMetadata
in interface MarshalledEntry<K,V>
public ByteBuffer getKeyBytes()
MarshalledEntry
getKeyBytes
in interface MarshalledEntry<K,V>
public ByteBuffer getValueBytes()
MarshalledEntry
getValueBytes
in interface MarshalledEntry<K,V>
public ByteBuffer getMetadataBytes()
getMetadataBytes
in interface MarshalledEntry<K,V>
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.