Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractLocalInvocationDispatcher - Class in dev.getelements.elements.rt.remote
- AbstractLocalInvocationDispatcher() - Constructor for class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- accessWorkerState() - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- accessWorkerState() - Method in interface dev.getelements.elements.rt.remote.Worker
-
Opens an
Worker.Accessorwhich can be used to read the run-state of thisWorker. - addNode(ApplicationId) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Adds a new node with the supplied
ApplicationId. - addNode(String) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Adds a new node with the supplied application unique name.
B
- beginMutation() - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- beginMutation() - Method in interface dev.getelements.elements.rt.remote.Worker
-
Opens a
Worker.Mutatorwhich can be used to modify the run-state of thisWorker. - beginShutdown() - Method in interface dev.getelements.elements.rt.remote.Node
-
Begins the shutdown process.
- beginStartup() - Method in interface dev.getelements.elements.rt.remote.Node
-
Begins the startup process by returning an instance of
Node.Startup. - blockingFutureStrategy() - Static method in interface dev.getelements.elements.rt.remote.LocalInvocationProcessor
-
Returns an instance of
LocalInvocationProcessor.ReturnValueStrategywhich simply blocks until theFutureeither returns or throws an instance ofThrowable. - build() - Method in class dev.getelements.elements.rt.remote.LocalInvocationProcessorBuilder
-
Builds a new instance of the
LocalInvocationDispatcher.
C
- CachedThreadPoolProvider - Class in dev.getelements.elements.rt.remote.provider
- CachedThreadPoolProvider() - Constructor for class dev.getelements.elements.rt.remote.provider.CachedThreadPoolProvider
- cancel() - Method in interface dev.getelements.elements.rt.remote.Node.Startup
-
Cancels the operation.
- close() - Method in interface dev.getelements.elements.rt.remote.Worker.Accessor
-
Releases any resources associated with the
Worker.Mutator. - commit() - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Commits any changes to the
Worker. - ContextLocalInvocationDispatcher - Class in dev.getelements.elements.rt.remote
-
Deprecated.
- ContextLocalInvocationDispatcher() - Constructor for class dev.getelements.elements.rt.remote.ContextLocalInvocationDispatcher
-
Deprecated.
- CPUCountThreadPoolProvider - Class in dev.getelements.elements.rt.remote.provider
- CPUCountThreadPoolProvider(Class<?>) - Constructor for class dev.getelements.elements.rt.remote.provider.CPUCountThreadPoolProvider
- CPUCountThreadPoolProvider(Class<?>, String) - Constructor for class dev.getelements.elements.rt.remote.provider.CPUCountThreadPoolProvider
- create(ApplicationId) - Method in interface dev.getelements.elements.rt.remote.Node.Factory
-
Creates a
Nodefor the suppliedApplicationId
D
- dev.getelements.elements.rt.remote - package dev.getelements.elements.rt.remote
- dev.getelements.elements.rt.remote.provider - package dev.getelements.elements.rt.remote.provider
- dev.getelements.elements.rt.remote.watchdog - package dev.getelements.elements.rt.remote.watchdog
- dispatch(Invocation, ResultHandlerStrategy) - Method in interface dev.getelements.elements.rt.remote.LocalInvocationDispatcher
-
Dispatches using the
InvocationandResultHandlerStrategy. - dispatch(Invocation, Consumer<InvocationResult>, Consumer<InvocationError>, List<Consumer<InvocationResult>>, Consumer<InvocationError>) - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- dispatch(Invocation, Consumer<InvocationResult>, Consumer<InvocationError>, List<Consumer<InvocationResult>>, Consumer<InvocationError>) - Method in interface dev.getelements.elements.rt.remote.LocalInvocationDispatcher
-
Performs the actual dispatch by unpacking the
Invocationand collecting the results into the providedConsumer<dev.getelements.elements.rt.remote.InvocationResult>.
E
- ExecutorServiceFactory<ExecutorServiceFactoryT> - Interface in dev.getelements.elements.rt.remote.provider
G
- get() - Method in class dev.getelements.elements.rt.remote.provider.CachedThreadPoolProvider
- get() - Method in class dev.getelements.elements.rt.remote.provider.CPUCountThreadPoolProvider
- get() - Method in class dev.getelements.elements.rt.remote.provider.ScheduledExecutorServiceProvider
- getBindingSet() - Method in interface dev.getelements.elements.rt.remote.Worker.Accessor
-
Gets all active
InstanceConnectionService.InstanceBindings. - getContext() - Method in class dev.getelements.elements.rt.remote.ContextLocalInvocationDispatcher
-
Deprecated.
- getDispatchType() - Method in class dev.getelements.elements.rt.remote.LocalInvocationProcessorBuilder
-
Gets the
Dispatch.Typestrategy to use when dispatching the method. - getInstanceId() - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- getInstanceMetadataContext() - Method in class dev.getelements.elements.rt.remote.MasterNodeLifecycle
- getInstanceMetadataContext() - Method in class dev.getelements.elements.rt.remote.MasterNodeLocalInvocationDispatcher
-
Deprecated.
- getMasterNode() - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- getMethod() - Method in class dev.getelements.elements.rt.remote.LocalInvocationProcessorBuilder
-
Gets the
Methodto dispatch. - getName() - Method in interface dev.getelements.elements.rt.remote.Node
-
Gets the symbolic name of the node.
- getNode() - Method in interface dev.getelements.elements.rt.remote.Node.Startup
-
Gets the
Nodestarting up. - getNodeFactory() - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- getNodeId() - Method in interface dev.getelements.elements.rt.remote.Node
-
Gets the
NodeId - getNodeId() - Method in interface dev.getelements.elements.rt.remote.Node.Startup
-
Gets the
NodeIdbeing started-up. - getNodeSet() - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- getNodeSet() - Method in interface dev.getelements.elements.rt.remote.Worker.Accessor
- getPersistenceEnvironment() - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- getProtocol() - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- getScheduledExecutorServiceFactory() - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- getSchedulerPoolSizeProvider() - Method in class dev.getelements.elements.rt.remote.provider.ScheduledExecutorServiceProvider
- getScope() - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- getService(Class<?>) - Method in interface dev.getelements.elements.rt.remote.provider.ExecutorServiceFactory
- getService(String) - Method in interface dev.getelements.elements.rt.remote.provider.ExecutorServiceFactory
- getServiceLocator() - Method in class dev.getelements.elements.rt.remote.ServiceLocatorLocalInvocationDispatcher
-
Deprecated.
- getState() - Method in interface dev.getelements.elements.rt.remote.Node
-
Gets the state of the node.
- getThreadGroupProvider() - Method in class dev.getelements.elements.rt.remote.provider.CachedThreadPoolProvider
- getThreadGroupProvider() - Method in class dev.getelements.elements.rt.remote.provider.ScheduledExecutorServiceProvider
- getWorker() - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- getWorkerWatchdogList() - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
I
- ignoreReturnValueStrategy() - Static method in interface dev.getelements.elements.rt.remote.LocalInvocationProcessor
-
Constructs a
LocalInvocationProcessor.ReturnValueStrategywhich ignores the return value and immediately returns anInvocationResultwith a null result. - InstanceThreadFactory - Class in dev.getelements.elements.rt.remote.provider
- InstanceThreadFactory(ThreadGroup, String) - Constructor for class dev.getelements.elements.rt.remote.provider.InstanceThreadFactory
L
- LocalInvocationDispatcher - Interface in dev.getelements.elements.rt.remote
-
Dispatches
Invocationinstances to the objects in the container, collects the result, and relays any errors. - LocalInvocationProcessor - Interface in dev.getelements.elements.rt.remote
-
Implements the strategy by which the
Invocationis dispatched to the localObjectin memory. - LocalInvocationProcessor.ReturnValueStrategy - Interface in dev.getelements.elements.rt.remote
- LocalInvocationProcessorBuilder - Class in dev.getelements.elements.rt.remote
-
Inspects the attributes, parameters, and annotations of a specific
Methodto build an instance ofLocalInvocationDispatcherto dispatchInvocationinstances to a local object in memory. - LocalInvocationProcessorBuilder(RemoteScope, Class<?>, String, List<String>) - Constructor for class dev.getelements.elements.rt.remote.LocalInvocationProcessorBuilder
M
- MASTER_NODE_NAME - Static variable in interface dev.getelements.elements.rt.remote.Node
-
Designates a master/control
Node. - MasterNodeLifecycle - Class in dev.getelements.elements.rt.remote
- MasterNodeLifecycle() - Constructor for class dev.getelements.elements.rt.remote.MasterNodeLifecycle
- MasterNodeLocalInvocationDispatcher - Class in dev.getelements.elements.rt.remote
-
Deprecated.This needs to be replaced with a dispatch to an
ElementviaElementRegistry - MasterNodeLocalInvocationDispatcher() - Constructor for class dev.getelements.elements.rt.remote.MasterNodeLocalInvocationDispatcher
-
Deprecated.
N
- NAME - Static variable in interface dev.getelements.elements.rt.remote.Node
-
An indicator of the Node's name to be used with the
Namedannotation. - newThread(Runnable) - Method in class dev.getelements.elements.rt.remote.provider.InstanceThreadFactory
- Node - Interface in dev.getelements.elements.rt.remote
-
Represents the worker node for a single Application.
- Node.Factory - Interface in dev.getelements.elements.rt.remote
-
Allows for the creation of
Nodeinstances on-the-fly. - Node.Shutdown - Interface in dev.getelements.elements.rt.remote
-
Represents a pending node shut-down process.
- Node.Startup - Interface in dev.getelements.elements.rt.remote
-
Represents a pending node start-up process.
- NodeBindingWatchdog - Class in dev.getelements.elements.rt.remote.watchdog
- NodeBindingWatchdog() - Constructor for class dev.getelements.elements.rt.remote.watchdog.NodeBindingWatchdog
- NodeHealthWorkerWatchdog - Class in dev.getelements.elements.rt.remote.watchdog
- NodeHealthWorkerWatchdog() - Constructor for class dev.getelements.elements.rt.remote.watchdog.NodeHealthWorkerWatchdog
- NodeLifecycle - Interface in dev.getelements.elements.rt.remote
-
Informs the underlying application, contained in the
Node, of the various livecycle events. - nodePostStart(Node) - Method in interface dev.getelements.elements.rt.remote.NodeLifecycle
-
Called after the
Nodeis up and accepting connections. - nodePostStop(Node) - Method in class dev.getelements.elements.rt.remote.MasterNodeLifecycle
- nodePostStop(Node) - Method in interface dev.getelements.elements.rt.remote.NodeLifecycle
-
Called just after the
Nodehas stopped accepting connections. - nodePreStart(Node) - Method in class dev.getelements.elements.rt.remote.MasterNodeLifecycle
- nodePreStart(Node) - Method in interface dev.getelements.elements.rt.remote.NodeLifecycle
-
Called before the
Nodeis up and accepting connections - nodePreStop(Node) - Method in interface dev.getelements.elements.rt.remote.NodeLifecycle
-
Called just before the
Nodewill stop accepting connections and shut down
P
- postClose(Consumer<Exception>) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- postStart() - Method in interface dev.getelements.elements.rt.remote.Node.Startup
-
Performs any post-start operations.
- postStart(Consumer<Exception>) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- postStop() - Method in interface dev.getelements.elements.rt.remote.Node.Shutdown
-
Performs any post-start operations.
- preClose(Consumer<Exception>) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- preStart() - Method in interface dev.getelements.elements.rt.remote.Node.Startup
-
Performs any pre-start operations.
- preStart(Consumer<Exception>) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- preStop() - Method in interface dev.getelements.elements.rt.remote.Node.Shutdown
-
Performs any pre-start operations.
- process(Object, Consumer<InvocationError>, Consumer<InvocationResult>) - Method in interface dev.getelements.elements.rt.remote.LocalInvocationProcessor.ReturnValueStrategy
- processInvocation(Object, Invocation, Consumer<InvocationResult>, Consumer<InvocationError>, List<Consumer<InvocationResult>>, Consumer<InvocationError>) - Method in interface dev.getelements.elements.rt.remote.LocalInvocationProcessor
-
Performs the dispatch to the supplied object.
R
- removeNode(ApplicationId) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Removes the supplied
Nodewith the suppliedApplicationId. - removeNode(String) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Removes the supplied
Nodewith the supplied name. - removeNode(Collection<ApplicationId>) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Removes the supplied
Nodes with the suppliedApplicationIds. - resolve(Class<?>) - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- resolve(Class<?>) - Method in class dev.getelements.elements.rt.remote.MasterNodeLocalInvocationDispatcher
-
Deprecated.
- resolve(Class<?>) - Method in class dev.getelements.elements.rt.remote.ServiceLocatorLocalInvocationDispatcher
-
Deprecated.
- resolve(Class<?>, Invocation) - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- resolve(Class<?>, String) - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- resolve(Class<?>, String) - Method in class dev.getelements.elements.rt.remote.ContextLocalInvocationDispatcher
-
Deprecated.
- resolve(Class<?>, String) - Method in class dev.getelements.elements.rt.remote.ServiceLocatorLocalInvocationDispatcher
-
Deprecated.
- restartNode(ApplicationId) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Restarts the supplied
Nodewith the suppliedApplicationId. - restartNode(String) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Restarts the supplied
Nodewith the supplied name. - restartNode(Collection<ApplicationId>) - Method in interface dev.getelements.elements.rt.remote.Worker.Mutator
-
Restarts the supplied
Nodes with the suppliedApplicationIds.
S
- ScheduledExecutorServiceProvider - Class in dev.getelements.elements.rt.remote.provider
- ScheduledExecutorServiceProvider() - Constructor for class dev.getelements.elements.rt.remote.provider.ScheduledExecutorServiceProvider
- ServiceLocatorLocalInvocationDispatcher - Class in dev.getelements.elements.rt.remote
-
Deprecated.This needs to be replaced with a dispatch to an
ElementviaElementRegistry - ServiceLocatorLocalInvocationDispatcher() - Constructor for class dev.getelements.elements.rt.remote.ServiceLocatorLocalInvocationDispatcher
-
Deprecated.
- setContext(Context) - Method in class dev.getelements.elements.rt.remote.ContextLocalInvocationDispatcher
-
Deprecated.
- setInstanceId(InstanceId) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- setInstanceMetadataContext(InstanceMetadataContext) - Method in class dev.getelements.elements.rt.remote.MasterNodeLifecycle
- setInstanceMetadataContext(InstanceMetadataContext) - Method in class dev.getelements.elements.rt.remote.MasterNodeLocalInvocationDispatcher
-
Deprecated.
- setMasterNode(Node) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- setNodeFactory(Node.Factory) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- setNodeSet(Set<Node>) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- setPersistenceEnvironment(PersistenceEnvironment) - Method in class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- setProtocol(String) - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- setScheduledExecutorServiceFactory(ExecutorServiceFactory<ScheduledExecutorService>) - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- setSchedulerPoolSizeProvider(Provider<Integer>) - Method in class dev.getelements.elements.rt.remote.provider.ScheduledExecutorServiceProvider
- setScope(String) - Method in class dev.getelements.elements.rt.remote.AbstractLocalInvocationDispatcher
- setServiceLocator(ServiceLocator) - Method in class dev.getelements.elements.rt.remote.ServiceLocatorLocalInvocationDispatcher
-
Deprecated.
- setThreadGroupProvider(Provider<ThreadGroup>) - Method in class dev.getelements.elements.rt.remote.provider.CachedThreadPoolProvider
- setThreadGroupProvider(Provider<ThreadGroup>) - Method in class dev.getelements.elements.rt.remote.provider.ScheduledExecutorServiceProvider
- setWorker(Worker) - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- setWorkerWatchdogList(Set<WorkerWatchdog>) - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- simpleReturnValueStrategy() - Static method in interface dev.getelements.elements.rt.remote.LocalInvocationProcessor
-
Constructs a
LocalInvocationProcessor.ReturnValueStrategywhich simply hands the result of theInvocationdirectly to a new instance ofInvocationResultand passes it into to the suppliedConsumer - SimpleWatchdogService - Class in dev.getelements.elements.rt.remote.watchdog
- SimpleWatchdogService() - Constructor for class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- SimpleWorkerInstance - Class in dev.getelements.elements.rt.remote
- SimpleWorkerInstance() - Constructor for class dev.getelements.elements.rt.remote.SimpleWorkerInstance
- start() - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- start() - Method in interface dev.getelements.elements.rt.remote.watchdog.WatchdogService
-
Starts monitoring.
- start() - Method in interface dev.getelements.elements.rt.remote.watchdog.WorkerWatchdog
-
Starts this
WorkerWatchdog. - start(InstanceConnectionService.InstanceBinding) - Method in interface dev.getelements.elements.rt.remote.Node.Startup
-
Starts the service.
- stop() - Method in interface dev.getelements.elements.rt.remote.Node.Shutdown
-
Stops the service.
- stop() - Method in class dev.getelements.elements.rt.remote.watchdog.SimpleWatchdogService
- stop() - Method in interface dev.getelements.elements.rt.remote.watchdog.WatchdogService
-
Stops monitoring.
- stop() - Method in interface dev.getelements.elements.rt.remote.watchdog.WorkerWatchdog
-
Stops this
WorkerWatchdog.
U
- unsupported() - Static method in interface dev.getelements.elements.rt.remote.Node.Factory
-
Indicates that factory support is currently disabled or otherwise unsupported.
W
- watch(Logger, Worker) - Method in class dev.getelements.elements.rt.remote.watchdog.NodeBindingWatchdog
- watch(Logger, Worker) - Method in class dev.getelements.elements.rt.remote.watchdog.NodeHealthWorkerWatchdog
- watch(Logger, Worker) - Method in interface dev.getelements.elements.rt.remote.watchdog.WorkerWatchdog
-
Executes the rules for this
WorkerWatchdog - WatchdogService - Interface in dev.getelements.elements.rt.remote.watchdog
-
Times and executes watchdogs.
- Worker - Interface in dev.getelements.elements.rt.remote
-
Represents the worker, hosing one or more nodes performing work.
- Worker.Accessor - Interface in dev.getelements.elements.rt.remote
-
Allows client code to read the sstate of the
Worker - Worker.Mutator - Interface in dev.getelements.elements.rt.remote
-
Allows for the mutation of the
Worker. - WorkerWatchdog - Interface in dev.getelements.elements.rt.remote.watchdog
-
Represents a watchdog service which is designed to perform operations against the
Workeron a regular basis, ensuring things like health checks and other critical operations.
All Classes and Interfaces|All Packages|Constant Field Values
ElementviaElementRegistry