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 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 NsRemoteIteratorWebService
nriws
The web service for remote iterator handlers for node states.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 RuntimeManagerWebService(RuntimeManager service, ServiceMetaData smd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull SynchronousActivityStartingWebService
getActivityStarting()
@NotNull ExecutionControlManagerWebService<ExecutionControlManager>
getExecutionControlManager()
NsRemoteIteratorWebService
getNsRemoteIteratorWebService()
@Valid NsInitialRemoteIteratorData
logoffAndTerminateActivities(@NotNull @Valid SessionToken session, @NotNull @Valid QualifiedAgent agent, Boolean forceTerm, @Positive Integer count)
void
logon(@NotNull @Valid SessionToken session, @NotNull @Valid ClientSessionDetails csd)
void
shutdown()
Shuts down this sub resource web service.void
updateClientSessionFactory(@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:AbstractSubResourceWebService
Shuts down this sub resource web service. This default implementation does nothing.- Overrides:
shutdown
in 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:
ParameterException
DataSourceException
DataConsistencyException
- 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()
-
-