org.gcube.common.accounting.node.persistence
Class PersistenceAdapter
java.lang.Object
org.gcube.common.accounting.node.persistence.PersistenceAdapter
public class PersistenceAdapter
- extends java.lang.Object
- Author:
- Andrea Manzi(CERN)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceAdapter
public PersistenceAdapter(GCUBELog logger,
java.lang.Long interval)
getLastUpdate
public java.util.Calendar getLastUpdate()
setLastUpdate
public void setLastUpdate(java.util.Calendar lastUpdate)
store
public void store()
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public void load()
throws java.lang.Exception
- Throws:
java.lang.Exception
getInterval
public java.lang.Long getInterval()
setInterval
public void setInterval(java.lang.Long interval)
getMap
public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,RIAccountingData>> getMap()
setMap
public void setMap(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,RIAccountingData>> map)
alreadyUpdated
public boolean alreadyUpdated()