|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.service.AbstractService
com.bigdata.service.DataService
com.bigdata.service.jini.DataServer.AdministrableDataService
public static class DataServer.AdministrableDataService
Adds jini administration interfaces to the basic DataService.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.bigdata.service.DataService |
|---|
DataService.DataServiceFederationDelegate, DataService.DataServiceTransactionManager, DataService.GetIndexMetadataTask, DataService.IDataServiceCounters, DataService.Options, DataService.RangeIteratorTask, DataService.ReadBlockCounters |
| Field Summary | |
|---|---|
protected DataServer |
server
|
| Fields inherited from class com.bigdata.service.DataService |
|---|
log |
| Constructor Summary | |
|---|---|
DataServer.AdministrableDataService(DataServer server,
Properties properties)
|
|
| Method Summary | |
|---|---|
protected void |
clearLoggingContext()
Clear the logging context. |
void |
destroy()
Destroy the service. |
Object |
getAdmin()
|
JiniFederation<?> |
getFederation()
Return the proxy used to access other services in the federation. |
String |
getServiceName()
Extends the base behavior to return a Name of the service
from the Configuration. |
protected void |
setupLoggingContext()
Adds the following parameters to the MDC
clientname
The hostname or IP address of the client making the request.
Note: InetAddress.getHostName() is used. |
void |
shutdown()
Polite shutdown does not accept new requests and will shutdown once the existing requests have been processed. |
void |
shutdownNow()
Shutdown attempts to abort in-progress requests and shutdown as soon as possible. |
Future<? extends Object> |
submit(Callable<? extends Object> task)
Extends the base behavior to return an RMI compatible proxy for the Future. |
Future |
submit(long tx,
String name,
IIndexProcedure proc)
Extends the base behavior to return an RMI compatible proxy for the Future. |
| Methods inherited from class com.bigdata.service.DataService |
|---|
abort, dropIndex, forceOverflow, getAsynchronousOverflowCounter, getConcurrencyManager, getHTTPDURLFile, getIndexMetadata, getIndexPartitionName, getLocalTransactionManager, getProperties, getResourceManager, getServiceIface, getSession, isOpen, isOverflowActive, newResourceManager, prepare, purgeOldResources, rangeIterator, readBlock, registerIndex, setReleaseTime, singlePhaseCommit, start, wrapFuture |
| Methods inherited from class com.bigdata.service.AbstractService |
|---|
getHostname, getServiceUUID, setServiceUUID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bigdata.service.IService |
|---|
getHostname, getServiceUUID |
| Field Detail |
|---|
protected final DataServer server
| Constructor Detail |
|---|
public DataServer.AdministrableDataService(DataServer server,
Properties properties)
| Method Detail |
|---|
public Object getAdmin()
throws RemoteException
getAdmin in interface net.jini.admin.AdministrableRemoteExceptionprotected void setupLoggingContext()
MDC
InetAddress.getHostName() is used. This method makes a
one-time best effort attempt to resolve the host name from the
InetAddress.
setupLoggingContext in class AbstractServiceClientSubject to obtain the
authenticated identity of the client (if any) for an incoming
remote call.protected void clearLoggingContext()
AbstractService
clearLoggingContext in class AbstractServicepublic void destroy()
IServiceDestroyAdmin.destroy().
destroy in interface IServicedestroy in interface RemoteDestroyAdmindestroy in interface com.sun.jini.admin.DestroyAdmindestroy in class DataServicepublic void shutdown()
DataService
shutdown in interface IServiceShutdownshutdown in interface RemoteDestroyAdminshutdown in class DataServicepublic void shutdownNow()
DataService
shutdownNow in interface IServiceShutdownshutdownNow in interface RemoteDestroyAdminshutdownNow in class DataServicepublic JiniFederation<?> getFederation()
AbstractService
getFederation in class AbstractService
public Future submit(long tx,
String name,
IIndexProcedure proc)
Future.
submit in interface IDataServicesubmit in class DataServicetx - The transaction identifier, ITx.UNISOLATED for an ACID
operation NOT isolated by a transaction,
ITx.READ_COMMITTED for a read-committed operation not
protected by a transaction (no global read lock), or any valid
commit time for a read-historical operation not protected by a
transaction (no global read lock).name - The name of the index partition.proc - The procedure to be executed.
Future from which the outcome of the procedure may be
obtained.public Future<? extends Object> submit(Callable<? extends Object> task)
Future.
submit in interface IDataServicesubmit in interface IRemoteExecutorsubmit in class DataServiceFuture for that task.AbstractDistributedFederation.getProxy(Future)public String getServiceName()
Name of the service
from the Configuration. If no name was specified in the
Configuration then the value returned by the base class is
returned instead.
getServiceName in interface IServicegetServiceName in class AbstractService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||