org.gcube.application.enm.service.conn
Class PersistenceClient
java.lang.Object
org.gcube.application.enm.service.conn.PersistenceClient
public class PersistenceClient
- extends Object
Persistence client.
- Author:
- Erik Torres
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.gcube.common.core.utils.logging.GCUBELog logger
REQUEST_FILENAME
public static final String REQUEST_FILENAME
- See Also:
- Constant Field Values
STATUS_FILENAME
public static final String STATUS_FILENAME
- See Also:
- Constant Field Values
RESULTS_FILENAME
public static final String RESULTS_FILENAME
- See Also:
- Constant Field Values
LOGS_FILENAME
public static final String LOGS_FILENAME
- See Also:
- Constant Field Values
PERSISTENCE_ROOT
public static final File PERSISTENCE_ROOT
PERSISTENCE_ROOT_PATH
public static String PERSISTENCE_ROOT_PATH
PersistenceClient
public PersistenceClient()
write
public void write(GenericJob job)
throws IOException
- Throws:
IOException
write
public void write(GenericJob job,
JobUpdate updates)
throws IOException
- Throws:
IOException
read
public GenericJob read(String credentials,
UUID experimentId)
throws IOException
- Throws:
IOException
delete
public final void delete(GenericJob job)
throws IOException
- Throws:
IOException
findCredentials
public String findCredentials(UUID experimentId)
loadJobs
public void loadJobs(ConcurrentMap<UUID,GenericJob> jobsMap)
loadJobs
public void loadJobs(ConcurrentMap<UUID,GenericJob> jobsMap,
boolean pending)
getUserExperimentResumes
public org.gcube.application.enm.common.xml.resumes.ExperimentResumes getUserExperimentResumes(String credentials)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.