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