java.lang.Object com.realtime.crossfire.jxclient.metaserver.Info
public class Info
An entry in the cache. It consists of a MetaserverEntry
and a
timestamp of last update.
Field Summary | |
---|---|
private MetaserverEntry |
metaserverEntry
The metaserver entry. |
private long |
timestamp
The timestamp of last update. |
Constructor Summary | |
---|---|
Info(MetaserverEntry metaserverEntry)
Create a new instance. |
|
Info(MetaserverEntry metaserverEntry,
long timestamp)
Create a new instance. |
Method Summary | |
---|---|
MetaserverEntry |
getMetaserverEntry()
Return the metaserver entry. |
long |
getTimestamp()
Return the timestamp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final MetaserverEntry metaserverEntry
private final long timestamp
Constructor Detail |
---|
public Info(@NotNull MetaserverEntry metaserverEntry)
metaserverEntry
- The metaserver entry.public Info(@NotNull MetaserverEntry metaserverEntry, long timestamp)
metaserverEntry
- The metaserver entry.timestamp
- The timestamp.Method Detail |
---|
@NotNull public MetaserverEntry getMetaserverEntry()
public long getTimestamp()