diff options
author | Vitaly Takmazov | 2016-07-31 02:34:12 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-31 02:34:12 +0300 |
commit | d06d53708a1f87d41b14fc87d40a7b9233b36fcb (patch) | |
tree | cbf529d736e7a3886003cdcb25fa354fef5ce701 /juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java | |
parent | 0c2ac00e800b2ed5f73a7abb9922b87329a077de (diff) |
move components to ws module
Diffstat (limited to 'juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java')
-rw-r--r-- | juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java b/juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java new file mode 100644 index 00000000..e870e0d8 --- /dev/null +++ b/juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java @@ -0,0 +1,19 @@ +package com.juick.ws.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; + } +} |