aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/java/com/juick/ws/s2s/CacheEntry.java
blob: e870e0d86ea89b1f7d07929f106f23df0a343564 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
    }
}