@Immutable public abstract class Entry extends Object
EntryKey paired with a EntryValue.| Modifier and Type | Field and Description |
|---|---|
static EntryMetadata |
METADATA_UNLIMITED_PROPAGATION
Default propagation metadata - unlimited propagation.
|
| Modifier and Type | Method and Description |
|---|---|
static Entry |
create(EntryKey key,
EntryValue value,
EntryMetadata entryMetadata)
Creates an
Entry from the given key, value and metadata. |
abstract EntryMetadata |
getEntryMetadata()
Returns the
EntryMetadata associated with this Entry. |
abstract EntryKey |
getKey()
Returns the entry's key.
|
abstract EntryValue |
getValue()
Returns the entry's value.
|
public static final EntryMetadata METADATA_UNLIMITED_PROPAGATION
public static Entry create(EntryKey key, EntryValue value, EntryMetadata entryMetadata)
Entry from the given key, value and metadata.key - the entry key.value - the entry value.entryMetadata - the entry metadata.Entry.public abstract EntryKey getKey()
public abstract EntryValue getValue()
public abstract EntryMetadata getEntryMetadata()
EntryMetadata associated with this Entry.EntryMetadata.