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() |
ByteBuffer |
getKeyBytes() |
InternalMetadata |
getMetadata() |
ByteBuffer |
getMetadataBytes() |
V |
getValue() |
ByteBuffer |
getValueBytes() |
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()
getKey
in interface MarshalledEntry<K,V>
public V getValue()
getValue
in interface MarshalledEntry<K,V>
public InternalMetadata getMetadata()
getMetadata
in interface MarshalledEntry<K,V>
public ByteBuffer getKeyBytes()
getKeyBytes
in interface MarshalledEntry<K,V>
public ByteBuffer getValueBytes()
getValueBytes
in interface MarshalledEntry<K,V>
public ByteBuffer getMetadataBytes()
getMetadataBytes
in interface MarshalledEntry<K,V>
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.