diff options
author | 2016-11-08 15:54:33 +0300 | |
---|---|---|
committer | 2016-11-08 15:54:33 +0300 | |
commit | 4314d834724bbb5c671e7300b7de865fe53c51fb (patch) | |
tree | adf95198a7db90a8cb6d2cdab90935af1e612ddc /juick-xmpp/src/main/java/com/juick/components/s2s/CacheEntry.java | |
parent | 397179619fdfa0b4b15f62437a91bd17924e7678 (diff) |
reorganize structure again
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components/s2s/CacheEntry.java')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/s2s/CacheEntry.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/s2s/CacheEntry.java b/juick-xmpp/src/main/java/com/juick/components/s2s/CacheEntry.java new file mode 100644 index 00000000..8a10182c --- /dev/null +++ b/juick-xmpp/src/main/java/com/juick/components/s2s/CacheEntry.java @@ -0,0 +1,19 @@ +package com.juick.components.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; + } +} |