Package com.sas.services
Interface QuiesceInterface
- All Superinterfaces:
Remote
- All Known Subinterfaces:
SessionServiceInterface
- All Known Implementing Classes:
SessionService,SessionServiceProxy
public interface QuiesceInterface
extends Remote
The QuiesceInterface provides a mechanism for quiescing and/or resuming
a service.
A service should directly implement this interface if it is remoteable and it intends to support the quiesce and resume functionality.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidquiesce(UserContextInterface userContext) Quiesce the service.voidresume(UserContextInterface userContext) Resume the service.
-
Method Details
-
quiesce
void quiesce(UserContextInterface userContext) throws ServiceException, QuiesceException, RemoteException Quiesce the service.- Parameters:
userContext- The user context.- Throws:
ServiceException- If a service error occurs.QuiesceException- If an error occurs quiescing the service.RemoteException- If a network anomaly is encountered.
-
resume
void resume(UserContextInterface userContext) throws ServiceException, QuiesceException, RemoteException Resume the service.- Parameters:
userContext- The user context.- Throws:
ServiceException- If a service error occurs.QuiesceException- If an error occurs resuming the service.RemoteException- If a network anomaly is encountered.
-