Class InstanceManagerWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<InstanceManager>
-
- de.aristaflow.ilm.ws.core.processmanager.InstanceManagerWebService
-
public class InstanceManagerWebService extends AbstractSubResourceWebService<InstanceManager>
- See Also:
InstanceManager
-
-
Field Summary
Fields Modifier and Type Field Description protected InstIdRemoteIteratorWebService
iiriws
The web service for remote iterator handlers for instance IDs.protected InstRemoteIteratorWebService
iriws
The web service for remote iterator handlers for instances.protected InstRefRemoteIteratorWebService
irriws
The web service for remote iterator handlers for instance references.protected InstStatusRemoteIteratorWebService
isriws
The web service for remote iterator handlers for instance statuses.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 InstanceManagerWebService(InstanceManager service, ProcessManagerWebService parent)
-
Method Summary
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory
-
-
-
-
Field Detail
-
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.
-
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.
-
iiriws
protected final InstIdRemoteIteratorWebService iiriws
The web service for remote iterator handlers for instance IDs.
-
irriws
protected final InstRefRemoteIteratorWebService irriws
The web service for remote iterator handlers for instance references.
-
iriws
protected final InstRemoteIteratorWebService iriws
The web service for remote iterator handlers for instances.
-
isriws
protected final InstStatusRemoteIteratorWebService isriws
The web service for remote iterator handlers for instance statuses.
-
-
Constructor Detail
-
InstanceManagerWebService
public InstanceManagerWebService(InstanceManager service, ProcessManagerWebService parent)
-
-
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<InstanceManager>
-
getInstIdRemoteIteratorWebService
public InstIdRemoteIteratorWebService getInstIdRemoteIteratorWebService()
-
getInstRefRemoteIteratorWebService
public InstRefRemoteIteratorWebService getInstRefRemoteIteratorWebService()
-
getInstRemoteIteratorWebService
public InstRemoteIteratorWebService getInstRemoteIteratorWebService()
-
getInstStatusRemoteIteratorWebService
public InstStatusRemoteIteratorWebService getInstStatusRemoteIteratorWebService()
-
getLogicalInstanceIds
@Valid public @Valid InstIdInitialRemoteIteratorData getLogicalInstanceIds(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty List<UUID> logIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
-
getInstanceRefs
@Valid public @Valid InstRefInitialRemoteIteratorData getInstanceRefs(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty List<UUID> instIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
-
getInstanceRefsOf
@Valid public @Valid InstRefInitialRemoteIteratorData getInstanceRefsOf(@NotNull @Valid @NotNull @Valid SessionToken session, @Size(min=1) @Size(min=1) List<UUID> templIds, Boolean recursively, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
- Throws:
ParameterException
DataSourceException
DataConsistencyException
- See Also:
InstanceManager.findInstanceRefsOf(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID[], boolean, de.aristaflow.adept2.model.filter.Filter, de.aristaflow.adept2.model.filter.Filter)
,InstanceManager.findInstanceRefsOfIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID[], boolean, de.aristaflow.adept2.model.filter.Filter, de.aristaflow.adept2.model.filter.Filter)
-
getInstances
@Valid public @Valid InstInitialRemoteIteratorData getInstances(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty List<UUID> instIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException, IOException
-
getInstanceStatuses
@Valid public @Valid InstStatusInitialRemoteIteratorData getInstanceStatuses(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty List<UUID> instIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
-
archiveInstance
@NotNull public @NotNull Map<UUID,UUID> archiveInstance(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull UUID instId) throws ParameterException, InvalidInstanceStateException, LockException, DataConsistencyException
-
-