org.gcube.data.tm.state
Class SourcePersistenceDelegate
java.lang.Object
org.gcube.common.core.persistence.GCUBEPersistenceDelegate<RESOURCEID,RESOURCE>
org.gcube.common.core.persistence.GCUBEFilePersistenceDelegate<String,RESOURCE>
org.gcube.common.core.persistence.GCUBELRFilePersistenceDelegate<SourceResource>
org.gcube.data.tm.state.SourcePersistenceDelegate
public class SourcePersistenceDelegate
- extends org.gcube.common.core.persistence.GCUBELRFilePersistenceDelegate<SourceResource>
Persistence delegate for SourceResources.
- Author:
- Fabio Simeoni
| Fields inherited from class org.gcube.common.core.persistence.GCUBELRFilePersistenceDelegate |
LOCAL_FILE_SUFFIX |
| Fields inherited from class org.gcube.common.core.persistence.GCUBEPersistenceDelegate |
logger |
| Methods inherited from class org.gcube.common.core.persistence.GCUBELRFilePersistenceDelegate |
getFileFromResource, getIDFromFileName, getSuffix, initialise |
| Methods inherited from class org.gcube.common.core.persistence.GCUBEFilePersistenceDelegate |
getResourceIdentifiers, getStorageRoot, onRemove, onStore |
| Methods inherited from class org.gcube.common.core.persistence.GCUBEPersistenceDelegate |
load, remove, store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourcePersistenceDelegate
public SourcePersistenceDelegate()
onLoad
protected void onLoad(SourceResource resource,
ObjectInputStream stream)
throws Exception
-
- Overrides:
onLoad in class org.gcube.common.core.persistence.GCUBELRFilePersistenceDelegate<SourceResource>
- Throws:
Exception
onStore
protected void onStore(SourceResource resource,
ObjectOutputStream stream)
throws Exception
-
- Overrides:
onStore in class org.gcube.common.core.persistence.GCUBELRFilePersistenceDelegate<SourceResource>
- Throws:
Exception
onLoad
protected void onLoad(SourceResource resource,
boolean firstLoad)
throws Exception
-
- Overrides:
onLoad in class org.gcube.common.core.persistence.GCUBEFilePersistenceDelegate<String,SourceResource>
- Throws:
Exception
Copyright © 2012. All Rights Reserved.