@ExtensionPoint public interface Backend extends Ordered
To register a new backend, register an implementation of this interface with the OSGi
service registry.
Implementations are encouraged to make use of existing abstract helper classes, such
as BaseBackend
or VmListenerBackend
BaseBackend
,
VmListenerBackend
ORDER_CODE_GROUP, ORDER_CPU_GROUP, ORDER_DEFAULT_GROUP, ORDER_FIRST, ORDER_IO_GROUP, ORDER_LAST, ORDER_MEMORY_GROUP, ORDER_NETWORK_GROUP, ORDER_THREAD_GROUP, ORDER_USER_GROUP
Modifier and Type | Method and Description |
---|---|
boolean |
activate()
Activate the
Backend . |
boolean |
deactivate()
Deactivate the
Backend . |
String |
getDescription() |
String |
getName() |
boolean |
getObserveNewJvm()
Indicate whether this backend will attach to new java processes.
|
String |
getVendor() |
String |
getVersion() |
boolean |
isActive() |
void |
setObserveNewJvm(boolean newValue)
Set whether this backend will attach to new java processes.
|
getOrderValue
String getDescription()
boolean activate()
Backend
. Based on the current configuration,
begin pushing data to the Storage
layer.
If the Backend
is already active, this method should have no
effect.
Backend
is
registered.true
if the backend was activated successfully or
already active. false
if there was an errorboolean deactivate()
Backend
. The backend should release any
resources that were obtained as a direct result of a call to
activate()
. If the Backend
is not active, this
method should have no effect
Backend
is
deregistered.true
if the backend was successfully deactivated or
already inactive. false
if the backend is still active.boolean isActive()
boolean getObserveNewJvm()
void setObserveNewJvm(boolean newValue)
newValue
- Copyright © 2016. All rights reserved.