public abstract class ClientService extends AbstractService implements IClientService, ISession
Callables across an
IBigdataFederation.| Modifier and Type | Class and Description |
|---|---|
static class |
ClientService.ClientServiceFederationDelegate
Extended to attach the various performance counters reported by the
DistributedTransactionService. |
static interface |
ClientService.Options
Configuration options.
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
ClientService(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends IClientService> |
getServiceIface()
Returns either
IClientService. |
Session |
getSession()
A transient and dynamic property set (aka session).
|
boolean |
isOpen() |
void |
shutdown() |
void |
shutdownNow() |
AbstractService |
start()
Starts the
AbstractService. |
Future<? extends Object> |
submit(Callable<? extends Object> task)
Note: When the
ClientService is accessed via RMI the
Future MUST be a proxy. |
clearLoggingContext, destroy, getFederation, getHostname, getServiceName, getServiceUUID, setServiceUUID, setupLoggingContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getHostname, getServiceName, getServiceUUIDpublic ClientService(Properties properties)
public Session getSession()
ISessiongetSession in interface ISessionpublic void shutdown()
shutdown in class AbstractServicepublic void shutdownNow()
shutdownNow in class AbstractServicepublic final boolean isOpen()
public AbstractService start()
AbstractServiceAbstractService.
Note: A AbstractService.start() is required in order to give subclasses an
opportunity to be fully initialized before they are required to begin
operations. It is impossible to encapsulate the startup logic cleanly
without this ctor() + start() pattern. Those familiar with Objective-C
will recognized this.
start in class AbstractServicepublic Class<? extends IClientService> getServiceIface()
IClientService.getServiceIface in interface IServicegetServiceIface in class AbstractServicepublic Future<? extends Object> submit(Callable<? extends Object> task)
ClientService is accessed via RMI the
Future MUST be a proxy. This gets handled by the concrete server
implementation.submit in interface IRemoteExecutorFuture for that task.AbstractDistributedFederation.getProxy(Future)Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.