com.bigdata.service.jini.lookup
Class TransactionServiceClient
java.lang.Object
com.bigdata.service.jini.lookup.AbstractCachingServiceClient<S>
com.bigdata.service.jini.lookup.BigdataCachingServiceClient<ITransactionService>
com.bigdata.service.jini.lookup.TransactionServiceClient
public class TransactionServiceClient
- extends BigdataCachingServiceClient<ITransactionService>
Client manages discovery of an ITransactionService.
- Version:
- $Id$
- Author:
- Bryan Thompson
| Methods inherited from class com.bigdata.service.jini.lookup.AbstractCachingServiceClient |
destroyDiscoveredServices, destroyService, getLookupCache, getService, getService, getServiceCache, getServiceDiscoveryManager, getServiceItem, getServiceItem, getServiceItems, getServiceUUIDs, shutdownDiscoveredServices, shutdownService, terminate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionServiceClient
public TransactionServiceClient(JiniFederation fed,
long timeout)
throws RemoteException
- Throws:
RemoteException
getTransactionService
public ITransactionService getTransactionService()
- Return the
ITransactionService service from the cache -or-
null if there is no such service in the cache and a remote
lookup times out.
- TODO:
- handle multiple service instances for failover but always designate
a primary. secondaries MUST listen to the primary so that time
continues to move forward.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.