Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_RUNTIME_URI
For the default runtime instance the URI value is "default".
|
Constructor and Description |
---|
EPRuntimeProvider() |
Modifier and Type | Method and Description |
---|---|
static EPRuntime |
getDefaultRuntime()
Returns the runtime for the default URI.
|
static EPRuntime |
getDefaultRuntime(com.espertech.esper.common.client.configuration.Configuration configuration)
Returns the default runtime.
|
static EPRuntime |
getExistingRuntime(String uri)
Returns an existing runtime.
|
static EPRuntime |
getRuntime(String uri)
Returns a runtime for a given runtime URI.
|
static EPRuntime |
getRuntime(String uri,
com.espertech.esper.common.client.configuration.Configuration configuration)
Returns a runtime for a given URI.
|
static String[] |
getRuntimeURIs()
Returns a list of known URIs.
|
static boolean |
hasRuntime(String uri)
Returns an indicator whether a runtime for the given URI is allocated (true) or is not allocated (false)
|
public static final String DEFAULT_RUNTIME_URI
public static EPRuntime getDefaultRuntime()
public static EPRuntime getDefaultRuntime(com.espertech.esper.common.client.configuration.Configuration configuration) throws com.espertech.esper.common.client.configuration.ConfigurationException
configuration
- is the configuration for the runtimecom.espertech.esper.common.client.configuration.ConfigurationException
- to indicate a configuration problempublic static EPRuntime getRuntime(String uri)
Use the URI of "default" or null to return the default runtime.
uri
- - the URIpublic static EPRuntime getRuntime(String uri, com.espertech.esper.common.client.configuration.Configuration configuration) throws com.espertech.esper.common.client.configuration.ConfigurationException
uri
- - the runtime URI. If null provided it assumes "default".configuration
- is the configuration for the runtimecom.espertech.esper.common.client.configuration.ConfigurationException
- to indicate a configuration problempublic static EPRuntime getExistingRuntime(String uri)
uri
- - the URI. If null provided it assumes "default".public static String[] getRuntimeURIs()
Returns a the value "default" for the default runtime.
public static boolean hasRuntime(String uri)
uri
- runtime uriCopyright © 2005–2018. All rights reserved.