public final class ManagedProcess
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static IManagedComponent |
_getProcessComponent()
This is an internal method and is for ESB components consumption.
|
static IManagedComponent |
_setProcessComponent(IManagedComponent processComponent)
This is an internal method and is for testing purpose.
|
static IManagedComponent |
createManagedComponent(com.eibus.localization.ILocalizableString description)
Create a managed component for this process.
|
static IManagedComponent |
createManagedComponent(java.lang.String description)
Deprecated.
Use the localizable version of this method
|
static IManagedComponent |
createManagedComponent(java.lang.String type,
com.eibus.localization.ILocalizableString description)
Create a managed component for this process.
|
static IManagedComponent |
createManagedComponent(java.lang.String type,
java.lang.String description)
Deprecated.
Use the localizable version of this method
|
static java.lang.String |
getProcessName() |
static void |
resetCounter(java.lang.String componentName,
java.lang.String counterName)
Resets the given counter(s) of the given component(s)
|
static void |
setCounterMAWLength(java.lang.String componentName,
java.lang.String counterName,
int windowLength)
Sets the moving average window length (in milliseconds) of the given counter(s)
of the given component(s)
|
static void |
setCounterMAWSlots(java.lang.String componentName,
java.lang.String counterName,
int numOfSlots)
Sets the number of slots into which the moving average window of the given counter(s)
of the given component(s) is to be subdivided.
|
static void |
setProcessName(java.lang.String processName) |
public static void setProcessName(java.lang.String processName)
public static java.lang.String getProcessName()
public static IManagedComponent createManagedComponent(com.eibus.localization.ILocalizableString description)
description - The description of this managed componentpublic static IManagedComponent createManagedComponent(java.lang.String type, com.eibus.localization.ILocalizableString description)
type - The type of this managed componentdescription - The description of this managed componentpublic static IManagedComponent createManagedComponent(java.lang.String description)
description - The description of this managed componentpublic static IManagedComponent createManagedComponent(java.lang.String type, java.lang.String description)
type - The type of this managed componentdescription - The description of this managed componentpublic static void resetCounter(java.lang.String componentName,
java.lang.String counterName)
componentName - The name of the component. Use '*' for all componentscounterName - The name of the counter. Use '*' for all counterspublic static void setCounterMAWLength(java.lang.String componentName,
java.lang.String counterName,
int windowLength)
componentName - The name of the component. Use '*' for all componentscounterName - The name of the counter. Use '*' for all counterswindowLength - The length of the moving average window in millisecondspublic static void setCounterMAWSlots(java.lang.String componentName,
java.lang.String counterName,
int numOfSlots)
componentName - The name of the component. Use '*' for all components.counterName - The name of the counter. Use '*' for all countersnumOfSlots - The number of slots in the moving average windowpublic static IManagedComponent _getProcessComponent()
public static IManagedComponent _setProcessComponent(IManagedComponent processComponent)