public abstract class BaseState extends Object implements CascadingService
Constructor and Description |
---|
BaseState() |
Modifier and Type | Method and Description |
---|---|
String |
getID() |
void |
initialize(CascadingServices cascadingServices,
String id) |
boolean |
isEnabled()
Returns true if this service has been enabled.
|
protected void |
setMetric(Enum metric,
long value) |
protected void |
setMetric(String group,
String metric,
long value) |
protected void |
setMetric(String group,
String metric,
String value) |
void |
setProperties(Map<Object,Object> properties) |
void |
startService()
May be called more than once.
|
void |
stopService()
May be called more than once, but only the first invocation will stop the service.
|
protected void |
store(String id,
Object value) |
public BaseState()
public boolean isEnabled()
CascadingService
isEnabled
in interface CascadingService
public void setProperties(Map<Object,Object> properties)
setProperties
in interface CascadingService
public void initialize(CascadingServices cascadingServices, String id)
public void startService()
startService
in interface CascadingService
public void stopService()
CascadingService
stopService
in interface CascadingService
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.