public class MemoryStoredData extends SoftReference<VType> implements Data
Data
from DataStorage
stored in memory.Constructor and Description |
---|
MemoryStoredData(Timestamp timestamp,
VType value,
ReferenceQueue<VType> q) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Data sd) |
boolean |
equals(Object obj) |
Timestamp |
getTimestamp() |
VType |
getValue() |
int |
hashCode() |
String |
toString() |
get
clear, enqueue, isEnqueued
public MemoryStoredData(Timestamp timestamp, VType value, ReferenceQueue<VType> q)
public Timestamp getTimestamp()
getTimestamp
in interface Data
public int compareTo(Data sd)
compareTo
in interface Comparable<Data>
Copyright © 2015. All rights reserved.