T
- The meta data type of the cache.V
- The raw data type of the cache.public static class MemTupleDataCache.DataEntry<T extends Serializable,V extends Serializable> extends Object implements TupleDataCache.DataEntry<String,T,V>, Serializable
Constructor and Description |
---|
DataEntry(String key,
T meta,
V value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Returns the key of this data cache entry.
|
T |
getMeta()
Returns the metadata of this data cache entry.
|
V |
getValue()
Returns the value of this data cache entry.
|
public String getKey()
TupleDataCache.DataEntry
getKey
in interface TupleDataCache.DataEntry<String,T extends Serializable,V extends Serializable>
public T getMeta()
TupleDataCache.DataEntry
getMeta
in interface TupleDataCache.DataEntry<String,T extends Serializable,V extends Serializable>
public V getValue()
TupleDataCache.DataEntry
getValue
in interface TupleDataCache.DataEntry<String,T extends Serializable,V extends Serializable>
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.