Class RuntimeManagerWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<T>
-
- de.aristaflow.ilm.ws.base.service.AbstractRootResourceWebService<RuntimeManager>
-
- de.aristaflow.ilm.ws.core.runtimemanager.RuntimeManagerWebService
-
public class RuntimeManagerWebService extends AbstractRootResourceWebService<RuntimeManager>
- See Also:
RuntimeManager
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONF_REM_IT_ALIVE_TIME_EXTENSIONConfiguration key for the time in milliseconds to extend the remote iterator alive time after each access.static StringCONF_REM_IT_INIT_ITERATOR_ALIVE_TIMEConfiguration key for the time in milliseconds to keep a remote iterator alive after creating it and before accessing it.protected NsRemoteIteratorWebServicenriwsThe web service for remote iterator handlers for node states.protected longREM_IT_ALIVE_TIME_EXTENSIONThe time in milliseconds to extend the remote iterator alive time after each access.protected longREM_IT_INIT_ALIVE_TIMEThe time in milliseconds to keep a remote iterator alive after creating it and before accessing it.
-
Constructor Summary
Constructors Constructor Description RuntimeManagerWebService(RuntimeManager service, ServiceMetaData smd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull SynchronousActivityStartingWebServicegetActivityStarting()@NotNull ExecutionControlManagerWebService<ExecutionControlManager>getExecutionControlManager()NsRemoteIteratorWebServicegetNsRemoteIteratorWebService()@Valid NsInitialRemoteIteratorDatalogoffAndTerminateActivities(@NotNull @Valid SessionToken session, @NotNull @Valid QualifiedAgent agent, Boolean forceTerm, @Positive Integer count)voidlogon(@NotNull @Valid SessionToken session, @NotNull @Valid ClientSessionDetails csd)voidshutdown()Shuts down this sub resource web service.voidupdateClientSessionFactory(@NotNull @Valid SessionToken session, @NotNull @Valid ClientSessionDetails csd)-
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.
-
nriws
protected final NsRemoteIteratorWebService nriws
The web service for remote iterator handlers for node states.
-
-
Constructor Detail
-
RuntimeManagerWebService
public RuntimeManagerWebService(RuntimeManager service, ServiceMetaData smd) throws ServiceNotKnownException
- Throws:
ServiceNotKnownException
-
-
Method Detail
-
shutdown
public void shutdown()
Description copied from class:AbstractSubResourceWebServiceShuts down this sub resource web service. This default implementation does nothing.- Overrides:
shutdownin classAbstractSubResourceWebService<RuntimeManager>
-
getNsRemoteIteratorWebService
public NsRemoteIteratorWebService getNsRemoteIteratorWebService()
-
logon
public void logon(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid ClientSessionDetails csd) throws ParameterException, ClassNotFoundException, IOException
-
updateClientSessionFactory
public void updateClientSessionFactory(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid ClientSessionDetails csd) throws ParameterException, ClassNotFoundException, IOException
-
logoffAndTerminateActivities
@Valid public @Valid NsInitialRemoteIteratorData logoffAndTerminateActivities(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid QualifiedAgent agent, Boolean forceTerm, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
- Throws:
ParameterExceptionDataSourceExceptionDataConsistencyException- See Also:
RuntimeManager.logoffAndTerminateActivities(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.base.sessionmanagement.QualifiedAgent, boolean),RemoteIteratorHandler.init(RemoteIterator, Integer)
-
getExecutionControlManager
@NotNull public @NotNull ExecutionControlManagerWebService<ExecutionControlManager> getExecutionControlManager()
-
getActivityStarting
@NotNull public @NotNull SynchronousActivityStartingWebService getActivityStarting()
-
-