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