T - The generic type of the client or service.public abstract class AbstractDistributedFederation<T> extends AbstractScaleOutFederation<T>
IBigdataFederation implementations where the
services are distributed using RMI and are running, at least in principle,
across more than one host/JVM.AbstractScaleOutFederation.ForceOverflowTask, AbstractScaleOutFederation.PurgeResourcesTaskAbstractFederation.ReportTask, AbstractFederation.StartDeferredTasksTaskmetadataIndexCachePolicylog| Constructor and Description |
|---|
AbstractDistributedFederation(IBigdataClient<T> client) |
| Modifier and Type | Method and Description |
|---|---|
abstract <E> E |
getProxy(E obj,
boolean enableDGC)
Return a proxy for an object.
|
abstract <E> Future<E> |
getProxy(Future<E> future)
Return a proxy object for a
Future suitable for use in an RMI
environment. |
abstract <E> IAsynchronousIterator<E> |
getProxy(IAsynchronousIterator<E> src,
IStreamSerializer<E> serializer,
int capacity)
Return a proxy object for an
IAsynchronousIterator suiteable for
use in an RMI environment. |
abstract <E> IBuffer<E> |
getProxy(IBuffer<E> buffer)
Return a proxy object for an
IBuffer suitable for use in an RMI
environment. |
boolean |
isDistributed()
Return
true iff the federation is distributed (uses RMI and
is running, at least in principle, across more than one host/JVM). |
boolean |
isJiniFederation()
Convenience method to remove linkage for bigdata-jini
BLZG-1370
|
boolean |
isStable()
Assumes that the federation is stable through failover services if
nothing else.
|
awaitServices, forceOverflow, getIndex, getIndexCache, getMetadataIndex, getMetadataIndexCache, isScaleOut, locatorScan, shutdown, shutdownNowaddScheduledTask, assertOpen, destroy, didStart, dropIndex, getClient, getCollectPlatformStatistics, getCollectQueueStatistics, getCounters, getDataServices, getExecutorService, getGangliaService, getGlobalFileSystem, getGlobalRowStore, getGlobalRowStore, getHostCounterSet, getHttpdPort, getHttpdURL, getIndexCounters, getResourceLocator, getScheduledExecutorService, getService, getServiceCounterPathPrefix, getServiceCounterPathPrefix, getServiceCounterSet, getServiceIface, getServiceName, getServiceUUID, getTaskCounters, getTempStore, indexNameScan, isGroupCommit, isOpen, isServiceReady, newHttpd, reattachDynamicCounters, registerIndex, registerIndex, registerIndex, reportCounters, sendEvent, serviceJoin, serviceLeaveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnyDataService, getDataService, getDataServiceByName, getDataServiceUUIDs, getLastCommitTime, getLoadBalancerService, getMetadataService, getTransactionServicegetResourceLockServicepublic AbstractDistributedFederation(IBigdataClient<T> client)
public final boolean isDistributed()
IBigdataFederationtrue iff the federation is distributed (uses RMI and
is running, at least in principle, across more than one host/JVM).public boolean isJiniFederation()
public boolean isStable()
public abstract <E> IAsynchronousIterator<E> getProxy(IAsynchronousIterator<E> src, IStreamSerializer<E> serializer, int capacity)
IAsynchronousIterator suiteable for
use in an RMI environment.src - The source iterator. Note that the iterator normally visits
elements of some array type (chunks).serializer - The object responsible for (de-)serializing a chunk of
elements visited by the iterator.capacity - The capacity for the internal buffer that is used to
asynchronously transfer elements (chunks) from the remote
iterator to the client iterator.IAsynchronousIterator.IllegalArgumentException - if the iterator is null.public abstract <E> Future<E> getProxy(Future<E> future)
Future suitable for use in an RMI
environment.future - The future.public abstract <E> IBuffer<E> getProxy(IBuffer<E> buffer)
IBuffer suitable for use in an RMI
environment.buffer - The future.IBuffer that masquerades any RMI
exceptions.public abstract <E> E getProxy(E obj,
boolean enableDGC)
obj - The object.enableDGC - If distributed garbage collection should be used for the
object.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.