diff options
author | Vitaly Takmazov | 2016-01-26 20:09:27 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-01-26 20:09:27 +0300 |
commit | 75d80dc433348435c1f8e11fafb0d1deda1ca793 (patch) | |
tree | c06a67e2bcf6e10bf12f7caabcd43280df2d91ab /src/main/java/com/juick/xmpp/s2s/CacheEntry.java | |
parent | bace08c34252bffd3a575ca86b2b2f420165a81b (diff) |
import s2s component
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s/CacheEntry.java')
-rw-r--r-- | src/main/java/com/juick/xmpp/s2s/CacheEntry.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/CacheEntry.java b/src/main/java/com/juick/xmpp/s2s/CacheEntry.java new file mode 100644 index 00000000..7cdb18ab --- /dev/null +++ b/src/main/java/com/juick/xmpp/s2s/CacheEntry.java @@ -0,0 +1,19 @@ +package com.juick.xmpp.s2s; + +/** + * + * @author ugnich + */ +public class CacheEntry { + + public String hostname; + public long tsCreated; + public long tsUpdated; + public String xml; + + public CacheEntry(String hostname, String xml) { + this.hostname = hostname; + this.tsCreated = this.tsUpdated = System.currentTimeMillis(); + this.xml = xml; + } +} |