From d06d53708a1f87d41b14fc87d40a7b9233b36fcb Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 31 Jul 2016 02:34:12 +0300 Subject: move components to ws module --- .../src/main/java/com/juick/ws/s2s/CacheEntry.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java (limited to 'juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java') 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; + } +} -- cgit v1.2.3