Interface UserConnectionManipulator
- 
- All Superinterfaces:
- MonitorManipulator
 
 public interface UserConnectionManipulator extends MonitorManipulator The interfaceUserConnectionManipulatorcontains operations to disconnect user connections.- Since:
- MicroStrategy Web 9.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddDisconnectionTask(java.lang.String sessionID)Adds a task to the user disconnection task list for batch operation.voidaddDisconnectionTask(java.lang.String sessionID, int projectID)Adds a task to the user disconnection task list for batch operation.voidaddDisconnectionTaskPerNode(java.util.Map<java.lang.String,java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Integer>>> connectionIds)Deprecated.voiddisconnect(java.lang.String sessionID)Disconnects user connections with the specified session ID.voiddisconnect(java.lang.String sessionID, int projectID)Disconnects a user connection with the specified project ID and session ID.voiddisconnectOnSpecificIServerNode(java.lang.String sessionID, java.lang.String iServerNode, int projectID)THIS METHOD IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT.voidsubmitDisconnectionPerNode(java.lang.String iServerNode)For cluster environment, we need to submit disconnection session request to specific I-server node.- 
Methods inherited from interface com.microstrategy.web.objects.admin.monitors.MonitorManipulatorclear, submit
 
- 
 
- 
- 
- 
Method Detail- 
disconnectvoid disconnect(java.lang.String sessionID, int projectID) throws MonitorManipulationException, WebObjectsAdminExceptionDisconnects a user connection with the specified project ID and session ID. A user connection can be uniquely identified by by a session ID and a project ID.- Parameters:
- sessionID- the session ID of a user connection.
- projectID- the project ID of a user connection.
- Throws:
- MonitorManipulationException- thrown if there is any failure in disconnecting user connections.
- WebObjectsAdminException- throwns if there is any fatal error preventing this operation, such as network error, server crash, etc.
 
 - 
disconnectOnSpecificIServerNodevoid disconnectOnSpecificIServerNode(java.lang.String sessionID, java.lang.String iServerNode, int projectID) throws MonitorManipulationException, WebObjectsAdminExceptionTHIS METHOD IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE METHOD IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT. Disconnects a user connection on an specific iServer node with the specified project ID and session ID. A user connection can be uniquely identified by by a session ID and a project ID.- Parameters:
- iServerNode- an specific iServer node
- sessionID- the session ID of a user connection
- projectID- the project ID of a user connection
- Throws:
- MonitorManipulationException- thrown if there is any failure in disconnecting user connections.
- WebObjectsAdminException- thrown if there is any fatal error preventing this operation, such as network error, server crash, etc.
 
 - 
addDisconnectionTaskvoid addDisconnectionTask(java.lang.String sessionID) Adds a task to the user disconnection task list for batch operation.- Parameters:
- sessionID- the session ID of a user connection.
 
 - 
addDisconnectionTaskvoid addDisconnectionTask(java.lang.String sessionID, int projectID)Adds a task to the user disconnection task list for batch operation.- Parameters:
- sessionID- the session ID of a user connection.
- projectID- the project ID of a user connection.
 
 - 
disconnectvoid disconnect(java.lang.String sessionID) throws MonitorManipulationException, WebObjectsAdminExceptionDisconnects user connections with the specified session ID. All projects associated with this session will be disconnected.- Parameters:
- sessionID- the session ID of a user connection.
- Throws:
- MonitorManipulationException- thrown if there is any failure in disconnecting user connections.
- WebObjectsAdminException- throwns if there is any fatal error preventing this operation, such as network error, server crash, etc.
 
 - 
addDisconnectionTaskPerNode@Deprecated void addDisconnectionTaskPerNode(java.util.Map<java.lang.String,java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Integer>>> connectionIds) throws MonitorManipulationException, WebObjectsAdminExceptionDeprecated.Adds a task to the user disconnection task list for batch operation per iServer node for cluster environment. Disconnect a user session on an specific iServer node with the specified project ID and session ID. A user connection can be uniquely identified by by a session Id and a project Id.- Parameters:
- connectionIds- Key is iServerNode name and value is list of pair of session id and project id
- Throws:
- MonitorManipulationException- thrown if there is any failure in disconnecting user connections.
- WebObjectsAdminException- thrown if there is any fatal error preventing this operation, such as network error, server crash, etc.
 
 - 
submitDisconnectionPerNodevoid submitDisconnectionPerNode(java.lang.String iServerNode) throws MonitorManipulationException, WebObjectsAdminExceptionFor cluster environment, we need to submit disconnection session request to specific I-server node.- Parameters:
- iServerNode- iServerNode name
- Throws:
- MonitorManipulationException- thrown if there is any failure in killing jobs or disconnecting connections.
- WebObjectsAdminException- thrown if there is any fatal error preventing this operation, such as network error, server crash, etc.
 
 
- 
 
-