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() |
getclear, enqueue, isEnqueuedpublic MemoryStoredData(Timestamp timestamp, VType value, ReferenceQueue<VType> q)
public Timestamp getTimestamp()
getTimestamp in interface Datapublic int compareTo(Data sd)
compareTo in interface Comparable<Data>Copyright © 2015. All rights reserved.