Class EPCompiledManifest
java.lang.Object
com.espertech.esper.common.client.EPCompiledManifest
- All Implemented Interfaces:
Serializable
Manifest is part of the
EPCompiled
and provides information for the runtime that
allows it to use the byte code.- See Also:
-
Constructor Summary
ConstructorDescriptionEPCompiledManifest
(String compilerVersion, String moduleProviderClassName, String queryProviderClassName, boolean targetHA) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the compiler version.Returns the class name of the class providing the module, or null for fire-and-forget queryReturns the class name of the class providing the fire-and-forget query, or null when this is a moduleboolean
Returns flag indicating whether the compiler targets high-availabilitystatic EPCompiledManifest
Read the manifest from input.void
write
(DataOutput output) Write the manifest to output.
-
Constructor Details
-
EPCompiledManifest
public EPCompiledManifest(String compilerVersion, String moduleProviderClassName, String queryProviderClassName, boolean targetHA) Ctor.- Parameters:
compilerVersion
- compiler versionmoduleProviderClassName
- class name of the class providing the module, or null for fire-and-forget queryqueryProviderClassName
- class name of the class providing the fire-and-forget query, or null when this is a moduletargetHA
- flag indicating whether the compiler targets high-availability
-
-
Method Details
-
getCompilerVersion
Returns the compiler version.- Returns:
- compiler version
-
getModuleProviderClassName
Returns the class name of the class providing the module, or null for fire-and-forget query- Returns:
- class name
-
getQueryProviderClassName
Returns the class name of the class providing the fire-and-forget query, or null when this is a module- Returns:
- class name
-
isTargetHA
public boolean isTargetHA()Returns flag indicating whether the compiler targets high-availability- Returns:
- indicator
-
write
Write the manifest to output.- Parameters:
output
- output- Throws:
IOException
- when an IO exception occurs
-
read
Read the manifest from input.- Parameters:
input
- input- Returns:
- manifest
- Throws:
IOException
- when an IO exception occurs
-