Class ExecutionManagerWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<T>
-
- de.aristaflow.ilm.ws.base.service.AbstractRootResourceWebService<T>
-
- de.aristaflow.ilm.ws.base.service.AbstractRootResourceConfigurableWebService<ExecutionManager>
-
- de.aristaflow.ilm.ws.core.executionmanager.ExecutionManagerWebService
-
public class ExecutionManagerWebService extends AbstractRootResourceConfigurableWebService<ExecutionManager>
- See Also:
ExecutionManager
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONF_REM_IT_ALIVE_TIME_EXTENSION
Configuration key for the time in milliseconds to extend the remote iterator alive time after each access.static String
CONF_REM_IT_INIT_ITERATOR_ALIVE_TIME
Configuration key for the time in milliseconds to keep a remote iterator alive after creating it and before accessing it.protected long
REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.protected long
REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.
-
Constructor Summary
Constructors Constructor Description ExecutionManagerWebService(ExecutionManager service, ServiceMetaData smd)
-
Method Summary
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractRootResourceConfigurableWebService
getChangeableConfigurationKeys, getConfiguration, getConfigurationValue, setConfigurationValue
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractRootResourceWebService
getRelease, getServiceInstanceName, getUris, ping
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory
-
-
-
-
Field Detail
-
CONF_REM_IT_INIT_ITERATOR_ALIVE_TIME
public static final String CONF_REM_IT_INIT_ITERATOR_ALIVE_TIME
Configuration key for the time in milliseconds to keep a remote iterator alive after creating it and before accessing it.- See Also:
- Constant Field Values
-
REM_IT_INIT_ALIVE_TIME
protected final long REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.
-
CONF_REM_IT_ALIVE_TIME_EXTENSION
public static final String CONF_REM_IT_ALIVE_TIME_EXTENSION
Configuration key for the time in milliseconds to extend the remote iterator alive time after each access.- See Also:
- Constant Field Values
-
REM_IT_ALIVE_TIME_EXTENSION
protected final long REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.
-
-
Constructor Detail
-
ExecutionManagerWebService
public ExecutionManagerWebService(ExecutionManager service, ServiceMetaData smd) throws ServiceNotKnownException
- Throws:
ServiceNotKnownException
-
-
Method Detail
-
shutdown
public void shutdown()
Description copied from class:AbstractSubResourceWebService
Shuts down this sub resource web service. This default implementation does nothing.- Overrides:
shutdown
in classAbstractSubResourceWebService<ExecutionManager>
-
getTemplIdRemoteIteratorWebService
public TemplIdRemoteIteratorWebService getTemplIdRemoteIteratorWebService()
-
getInstIdPairRemoteIteratorWebService
public InstIdPairRemoteIteratorWebService getInstIdPairRemoteIteratorWebService()
-
getInstanceControl
@NotNull public @NotNull InstanceControlWebService getInstanceControl()
- See Also:
ExecutionManager.getInstanceControl()
-
getActivityStarting
@NotNull public @NotNull ActivityStartingWebService getActivityStarting()
- See Also:
ExecutionManager.getActivityStarting()
-
getActivityTermination
@NotNull public @NotNull ActivityTerminationWebService getActivityTermination()
-
getActivityExecutionControl
@NotNull public @NotNull ActivityExecutionControlWebService getActivityExecutionControl()
-
getDataManager
@NotNull public @NotNull List<URI> getDataManager(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull UUID instId) throws ParameterException, ServiceNotKnownException
-
getProcessManager
@NotNull public @NotNull List<URI> getProcessManager(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull UUID instId) throws ParameterException, ServiceNotKnownException
-
archiveTemplate
@Valid public @Valid ArchiveTemplateResponse archiveTemplate(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull UUID templId, @Positive @Positive Integer count) throws ParameterException, InvalidTemplateStateException, InvalidInstanceStateException, DataConsistencyException, DataSourceException
-
archiveInstance
@Valid public @Valid InstIdPairInitialRemoteIteratorData archiveInstance(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull UUID instId, @Positive @Positive Integer count) throws ParameterException, InvalidInstanceStateException, DataConsistencyException, DataSourceException
-
-