Package com.streambase.sb.operator
Interface Operator.SharedObject
- 
- Enclosing class:
 - Operator
 
public static interface Operator.SharedObjectA SharedObject is an object that can be shared between Operators within a Container. Each SharedObject must implement the given interface so that it can be properly managed by the Container.- Since:
 - 7.1 initial release
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOperator.SharedObject.StateThe state of the SharedObject 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidresumeObject()Resume the SharedObject.voidshutdownObject()Shutdown the SharedObject.voidstartObject()Start the SharedObject.voidsuspendObject()Suspend the SharedObject. 
 - 
 
- 
- 
Method Detail
- 
startObject
void startObject() throws StreamBaseExceptionStart the SharedObject. SharedObjects are started BEFORE any Operators are started.- Throws:
 StreamBaseException- on error
 
- 
resumeObject
void resumeObject() throws StreamBaseExceptionResume the SharedObject. SharedObjects are resumed BEFORE any Operators are resumed.- Throws:
 StreamBaseException- on error
 
- 
suspendObject
void suspendObject() throws StreamBaseExceptionSuspend the SharedObject. SharedObjects are suspended AFTER any Operators are suspended.- Throws:
 StreamBaseException- on error
 
- 
shutdownObject
void shutdownObject() throws StreamBaseExceptionShutdown the SharedObject. SharedObjects are shutdown AFTER any Operators are shutdown.- Throws:
 StreamBaseException- on error
 
 - 
 
 -