Package com.streambase.sb.operator
Interface Operator.SharedObject
- Enclosing class:
- Operator
public static interface Operator.SharedObject
A 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
Modifier and TypeInterfaceDescriptionstatic enum
The state of the SharedObject -
Method Summary
Modifier and TypeMethodDescriptionvoid
Resume the SharedObject.void
Shutdown the SharedObject.void
Start the SharedObject.void
Suspend the SharedObject.
-
Method Details
-
startObject
Start the SharedObject. SharedObjects are started BEFORE any Operators are started.- Throws:
StreamBaseException
- on error
-
resumeObject
Resume the SharedObject. SharedObjects are resumed BEFORE any Operators are resumed.- Throws:
StreamBaseException
- on error
-
suspendObject
Suspend the SharedObject. SharedObjects are suspended AFTER any Operators are suspended.- Throws:
StreamBaseException
- on error
-
shutdownObject
Shutdown the SharedObject. SharedObjects are shutdown AFTER any Operators are shutdown.- Throws:
StreamBaseException
- on error
-