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(org.infinispan.commons.io.ByteBuffer key,
org.infinispan.commons.io.ByteBuffer valueBytes,
org.infinispan.commons.io.ByteBuffer metadataBytes,
org.infinispan.commons.marshall.StreamingMarshaller marshaller) |
MarshalledEntryImpl(K key,
org.infinispan.commons.io.ByteBuffer valueBytes,
org.infinispan.commons.io.ByteBuffer metadataBytes,
org.infinispan.commons.marshall.StreamingMarshaller marshaller) |
MarshalledEntryImpl(K key,
V value,
InternalMetadata im,
org.infinispan.commons.marshall.StreamingMarshaller sm) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
K |
getKey()
Returns the same key as
MarshalledEntry.getKeyBytes() , but unmarshalled. |
org.infinispan.commons.io.ByteBuffer |
getKeyBytes()
Returns the key in serialized format.
|
InternalMetadata |
getMetadata() |
org.infinispan.commons.io.ByteBuffer |
getMetadataBytes() |
V |
getValue()
Returns the same value as
MarshalledEntry.getKeyBytes() , but unmarshalled. |
org.infinispan.commons.io.ByteBuffer |
getValueBytes()
Returns the value in serialize format.
|
int |
hashCode() |
String |
toString() |
public MarshalledEntryImpl(org.infinispan.commons.io.ByteBuffer key, org.infinispan.commons.io.ByteBuffer valueBytes, org.infinispan.commons.io.ByteBuffer metadataBytes, org.infinispan.commons.marshall.StreamingMarshaller marshaller)
public MarshalledEntryImpl(K key, org.infinispan.commons.io.ByteBuffer valueBytes, org.infinispan.commons.io.ByteBuffer metadataBytes, org.infinispan.commons.marshall.StreamingMarshaller marshaller)
public MarshalledEntryImpl(K key, V value, InternalMetadata im, org.infinispan.commons.marshall.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 org.infinispan.commons.io.ByteBuffer getKeyBytes()
MarshalledEntry
getKeyBytes
in interface MarshalledEntry<K,V>
public org.infinispan.commons.io.ByteBuffer getValueBytes()
MarshalledEntry
getValueBytes
in interface MarshalledEntry<K,V>
public org.infinispan.commons.io.ByteBuffer getMetadataBytes()
getMetadataBytes
in interface MarshalledEntry<K,V>
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.