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