public class StateServices extends Object implements IStateServices
IStateServices.SvcMetaProps, IStateServices.SvcRegPropsCUSTOM, meta, sequenceKey, svc, svc_hist_dir, svc_reg_dir, UIMA_AS| Modifier and Type | Method and Description |
|---|---|
void |
deleteProperties(DuccId id) |
void |
deleteProperties(long serviceId) |
StateServicesDirectory |
getStateServicesDirectory() |
boolean |
init(DuccLogger logger) |
boolean |
moveToHistory(DuccId id,
Properties svc,
Properties meta) |
void |
shutdown() |
boolean |
storeProperties(DuccId id,
Properties svcprops,
Properties metaprops) |
boolean |
updateJobProperties(DuccId serviceId,
Properties props) |
boolean |
updateMetaProperties(DuccId serviceId,
Properties props) |
public boolean init(DuccLogger logger)
init in interface IStateServicespublic StateServicesDirectory getStateServicesDirectory() throws Exception
getStateServicesDirectory in interface IStateServicesExceptionpublic boolean storeProperties(DuccId id, Properties svcprops, Properties metaprops)
storeProperties in interface IStateServicespublic boolean updateJobProperties(DuccId serviceId, Properties props)
updateJobProperties in interface IStateServicespublic boolean updateMetaProperties(DuccId serviceId, Properties props)
updateMetaProperties in interface IStateServicespublic void deleteProperties(long serviceId)
public void deleteProperties(DuccId id)
public boolean moveToHistory(DuccId id, Properties svc, Properties meta) throws Exception
moveToHistory in interface IStateServicesExceptionpublic void shutdown()
shutdown in interface IStateServicesCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.