public class CacheEntry extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected org.openrdf.model.Model |
triples |
Constructor and Description |
---|
CacheEntry() |
Modifier and Type | Method and Description |
---|---|
Date |
getExpiryDate()
The date when this resource needs to be retrieved again according to expiry configuration.
|
Date |
getLastRetrieved()
The date when this resource has been retrieved the last time.
|
org.openrdf.model.URI |
getResource()
The URI resource managed by this cache entry.
|
Integer |
getTripleCount()
The number of triples that have been retrieved in the last cache refresh.
|
org.openrdf.model.Model |
getTriples()
The triples cached for the resource by this entry.
|
Integer |
getUpdateCount()
The number of times this resource has already been updated.
|
void |
setExpiryDate(Date expiryDate)
The date when this resource needs to be retrieved again according to expiry configuration.
|
void |
setLastRetrieved(Date lastRetrieved)
The date when this resource has been retrieved the last time.
|
void |
setResource(org.openrdf.model.URI resource)
The URI resource managed by this cache entry.
|
void |
setTripleCount(Integer tripleCount)
The number of triples that have been retrieved in the last cache refresh.
|
void |
setTriples(org.openrdf.model.Model triples)
The triples cached for the resource by this entry.
|
void |
setUpdateCount(Integer updateCount)
The number of times this resource has already been updated.
|
String |
toString() |
public org.openrdf.model.URI getResource()
public void setResource(org.openrdf.model.URI resource)
public Date getLastRetrieved()
public void setLastRetrieved(Date lastRetrieved)
public Date getExpiryDate()
public void setExpiryDate(Date expiryDate)
public Integer getUpdateCount()
public void setUpdateCount(Integer updateCount)
public Integer getTripleCount()
public void setTripleCount(Integer tripleCount)
public org.openrdf.model.Model getTriples()
public void setTriples(org.openrdf.model.Model triples)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.