![]() | EPRuntime Interface |
Namespace: com.espertech.esper.runtime.client
public interface EPRuntime
The EPRuntime type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConfigurationDeepCopy |
Returns a deep-copy of the configuration that is actively in use by the runtime.
Note: This can be an expensive operation.
|
![]() | ConfigurationTransient |
Returns the transient configuration, which are configuration values that are passed by reference (and not by value)
|
![]() | Context |
Provides naming context for public named objects.
An extension point designed for use by input and output adapters as well as
other extension services.
|
![]() | ContextPartitionService |
Returns the context partition service, for context partition information
|
![]() | DataFlowService |
Returns the data flow service, for managing dataflows
|
![]() | DeploymentService |
Returns the deployment service, for deploying and undeploying compiled modules
|
![]() | EventService |
Returns the event service, for sending events to the runtime and for controlling time
|
![]() | EventTypeService |
Returns the event type service, for obtaining information on event types
|
![]() | FireAndForgetService |
Returns the fire-and-forget service, for executing fire-and-forget queries
|
![]() | IsDestroyed |
Returns true if the runtime is in destroyed state, or false if not.
|
![]() | MetricsService |
Returns the metrics service, for managing runtime and statement metrics reporting
|
![]() | RenderEventService |
Returns the event rendering service, for rendering events to JSON and XML
|
![]() | RuntimeInstanceWideLock |
Returns the runtime-instance global read-write lock.
The send-event methods takes a read lock.
The {@link EPDeploymentService#deploy(EPCompiled)} and {@link EPDeploymentService#undeploy(String)} methods take a write lock.
|
![]() | RuntimePath |
Returns a path object for use by the compiler that represents the EPL objects deployed into the runtime.
|
![]() | URI |
Returns the runtime URI, or "default" if this is the default runtime.
|
![]() | VariableService |
Returns the variable service, for reading and writing variables
|
Name | Description | |
---|---|---|
![]() | AddRuntimeStateListener |
Add a listener to runtime state changes that receives a before-destroy event.
The listener collection applies set-semantics.
|
![]() | Destroy |
Destroys the runtime.
Releases any resources held by the runtime. The runtime enteres a state in
which operations provided by the runtime
are not guaranteed to operate properly.
Removes the runtime URI from the known URIs. Allows configuration to change for the instance.
When destroying a runtime your application must make sure that threads that are sending events into the runtime
have completed their work. More generally, the runtime should not be currently in use during or after the destroy operation.
|
![]() | Initialize |
Frees any resources associated with this runtime instance, and leaves the runtime instance
ready for further use.
Do not use the administrative and runtime instances obtained before the
initialize (including related services such as configuration, module management, etc.).
Your application must obtain new administrative and runtime instances.
Retains the existing configuration of the runtime instance but forgets any runtime configuration changes.
Stops and destroys any existing statement resources such as filters, patterns, expressions, views.
|
![]() | RemoveAllRuntimeStateListeners |
Remove all listeners to runtime state changes.
|
![]() | RemoveRuntimeStateListener |
Removate a listener to runtime state changes.
|