|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.service.DefaultServiceFederationDelegate<DataService>
com.bigdata.service.DataService.DataServiceFederationDelegate
public static class DataService.DataServiceFederationDelegate
Delegate handles custom counters for the ResourceManager, local
AbstractTransactionService and the ConcurrencyManager, dynamic
re-attachment of counters, etc. This delegate must be set on the
AbstractClient for those additional features to work.
| Field Summary |
|---|
| Fields inherited from class com.bigdata.service.DefaultServiceFederationDelegate |
|---|
log, service |
| Constructor Summary | |
|---|---|
DataService.DataServiceFederationDelegate(DataService service)
|
|
| Method Summary | |
|---|---|
void |
didStart()
Extended to setup DataService specific counters and to write
the client URL onto a file in the service's data directory. |
boolean |
isServiceReady()
Returns true |
void |
reattachDynamicCounters()
Dynamically detach and attach the counters for the named indices underneath of the IndexManager. |
protected void |
setupCounters()
Sets up DataService specific counters. |
| Methods inherited from class com.bigdata.service.DefaultServiceFederationDelegate |
|---|
getService, getServiceIface, getServiceName, getServiceUUID, logHttpdURL, newHttpd, serviceJoin, serviceLeave |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataService.DataServiceFederationDelegate(DataService service)
| Method Detail |
|---|
public void reattachDynamicCounters()
IndexManager.
Note: This method limits the frequency of update to no more than once every 5 seconds.
Note: OverflowManager.overflow() is responsible for
reattaching the counters for the live StoreManager.ManagedJournal during
synchronous overflow.
reattachDynamicCounters in interface IFederationDelegate<DataService>reattachDynamicCounters in class DefaultServiceFederationDelegate<DataService>public boolean isServiceReady()
DefaultServiceFederationDelegatetrue
isServiceReady in interface IFederationDelegate<DataService>isServiceReady in class DefaultServiceFederationDelegate<DataService>public void didStart()
DataService specific counters and to write
the client URL onto a file in the service's data directory.
didStart in interface IFederationDelegate<DataService>didStart in class DefaultServiceFederationDelegate<DataService>protected void setupCounters()
DataService specific counters.
DataService.IDataServiceCounters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||