Index
All Classes|All Packages|Constant Field Values
B
- broadcastInvalidations(Collection<String>, int) - Method in class com.zfabrik.workers.worker.HomeHandle
-
post resource invalidations by fully qualified resource names.
- broadcastInvalidations(Collection<String>, long, int, String) - Method in interface com.zfabrik.workers.home.IHomeLayout
-
broadcast resource invalidations to all worker processes of a home and, if specified, to all homes and workers in a cluster.
- broadcastMessage(Map<String, Serializable>, long) - Method in interface com.zfabrik.workers.home.IHomeLayout
-
broadcast a message to all worker processes of a home.
- broadcastMessage(Map<String, Serializable>, long, boolean) - Method in interface com.zfabrik.workers.home.IHomeLayout
-
broadcast a message to all worker processes of a home
C
- CLASSPATH - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.class.path") Classpath setting for the worker process.
- com.zfabrik.cluster - package com.zfabrik.cluster
- com.zfabrik.workers - package com.zfabrik.workers
- com.zfabrik.workers.home - package com.zfabrik.workers.home
- com.zfabrik.workers.worker - package com.zfabrik.workers.worker
- COMMAND - Static variable in interface com.zfabrik.workers.IMessageHandler
-
proposal constant to transport a command identifier if used for RPC
- COMMAND_GROUP - Static variable in interface com.zfabrik.workers.IMessageHandler
-
constant used to identify a message handler by command group
D
- DEBUG_PARAMS - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.debug.params") In case debugging is enabled (see
IWorkerProcess.WORKER_DEBUG
the params specified by this property will be added. - DEBUG_PARAMS_DEFAULT - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address={0}") Default value for
IWorkerProcess.DEBUG_PARAMS
. - DEBUG_PORT - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.debug.port") The debug port to use for this worker process.
- decreaseLease() - Method in interface com.zfabrik.workers.worker.IWorkerLease
- detach() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Detach this worker.
- DETACHED - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
G
- get() - Static method in interface com.zfabrik.workers.home.IHomeLayout
-
Retrieve the home layout instance
- getActiveWorkerProcess() - Method in interface com.zfabrik.workers.home.IWorkerHorde
-
Get the most current active worker process instance.
- getComponentName() - Method in interface com.zfabrik.workers.home.IWorkerHorde
-
The worker definition component
- getComponentName() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Get the worker process' component name
- getCreated() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Get the creation date of the worker process object (this is not necessarily the time it got started)
- getDetachTime() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Get the time of detachment (if any).
- getLastSynchronizationLog() - Method in class com.zfabrik.workers.worker.HomeHandle
- getName() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Get the worker process's instance technical name
- getState() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
get the state of this worker
- getWorkerComponentName(String) - Static method in class com.zfabrik.workers.home.WorkerUtils
- getWorkerLease() - Method in class com.zfabrik.workers.worker.HomeHandle
-
The worker lease is a way to control a worker's life time beyond a detach situation.
- getWorkerProcess(String) - Static method in class com.zfabrik.workers.home.WorkerUtils
-
Retrieve a worker process instance (to be called from home only).
- getWorkerProcesses() - Method in interface com.zfabrik.workers.home.IWorkerHorde
-
Get the set of all worker process instances managed in this family.
H
- HomeHandle - Class in com.zfabrik.workers.worker
-
The Home Handle provides ways of interaction with the currently running home layout (see
IHomeLayout
) from a worker process perspective. - HomeHandle() - Constructor for class com.zfabrik.workers.worker.HomeHandle
I
- IHomeLayout - Interface in com.zfabrik.workers.home
-
The home layout manages all running worker processes if any.
- IInvalidator - Interface in com.zfabrik.cluster
-
Client interface for invalidators.
- IMessageHandler - Interface in com.zfabrik.workers
- increaseLease() - Method in interface com.zfabrik.workers.worker.IWorkerLease
- INHERITED_SYSPROPS - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.inheritedSystemProperties") A comma-separated list of system properties for the worker process.
- INHERITED_SYSPROPS_DEFAULT - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
Default value of
IWorkerProcess.INHERITED_SYSPROPS
. - instance - Static variable in class com.zfabrik.workers.worker.HomeHandle
- instance() - Static method in class com.zfabrik.workers.worker.HomeHandle
- INVALIDATOR_ID - Static variable in interface com.zfabrik.cluster.IInvalidator
- INVALIDATOR_ID_DEFAULT - Static variable in interface com.zfabrik.cluster.IInvalidator
- isRunning() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Returns whether the current process is running.
- IWorkerHorde - Interface in com.zfabrik.workers.home
-
A worker may have detached clones that are still alive.
- IWorkerLease - Interface in com.zfabrik.workers.worker
-
The worker lease is a life-time self-control interface for worker nodes.
- IWorkerProcess - Interface in com.zfabrik.workers.home
-
A worker process is managed by the home process as explained in
IHomeLayout
.
J
- JMX_PARAMS - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.jmx.params") In case remote JMX access is enabled (see
IWorkerProcess.WORKER_REMOTE_JMX
the params specified by this property will be added. - JMX_PARAMS_DEFAULT - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("-Dcom.sun.management.jmxremote.port={0}") Default value for
IWorkerProcess.JMX_PARAMS
. - JMX_PORT - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.jmx.port") The jmx port to use for this worker process.
M
- MSG_NODE - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
msg header providing id of target node if one specific
- MSG_TARGET - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
msg header describing the target of a message
- MSG_TARGET_ALL - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- MSG_TARGET_HOME - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- MSG_TARGET_NODE - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- MSG_TIMEOUT - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
msg header providing the time out of the message operation (per node).
N
- NOT_STARTED - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
P
- postInvalidations(Collection<String>) - Method in interface com.zfabrik.cluster.IInvalidator
-
post a set of resource invalidations into a clustered environment Note: these will not be effective for the current home.
- processMessage(Map<String, Serializable>) - Method in interface com.zfabrik.workers.IMessageHandler
R
- RETURN - Static variable in interface com.zfabrik.workers.IMessageHandler
-
proposal constant to be used to transport message return values
S
- SCOPE_HOME - Static variable in interface com.zfabrik.workers.home.IHomeLayout
-
broadcast scope: local home process
- SCOPE_HOME_LAYOUT - Static variable in interface com.zfabrik.workers.home.IHomeLayout
-
broadcast scope: All of the home layout
- SCOPE_OTHERS - Static variable in interface com.zfabrik.workers.home.IHomeLayout
-
broadcast scope: exclude the sending worker process
- SCOPE_WORKERS - Static variable in interface com.zfabrik.workers.home.IHomeLayout
-
broadcast scope: all worker processes in home
- sendMessage(Map<String, Serializable>, long) - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
send a message to the process.
- sendMessage(Map<String, Serializable>, long) - Method in class com.zfabrik.workers.worker.HomeHandle
-
send a message.
- sendMessage(Map<String, Serializable>, long, boolean) - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
send a message to the process.
- setInstance(HomeHandle) - Static method in class com.zfabrik.workers.worker.HomeHandle
- start() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
start this worker
- STARTED - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- STARTING - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- STATES - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.states") Target states (or dependency components) of the worker process (see above).
- stop() - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Stop this worker
- stop(long) - Method in interface com.zfabrik.workers.home.IWorkerProcess
-
Stop this worker with a non-default timeout.
- STOPPING - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
T
- TO_MSG - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.process.timeouts.communication") Timeout in milliseconds.
- TO_MSG_DEF - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- TO_START - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.process.timeouts.start") Timeout in milliseconds.
- TO_START_DEF - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- TO_TERM - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.process.timeouts.termination") Timeout in milliseconds.
- TO_TERM_DEF - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
- triggerSynchronization(int) - Method in class com.zfabrik.workers.worker.HomeHandle
- triggerVerification() - Method in class com.zfabrik.workers.worker.HomeHandle
- TYPE - Static variable in interface com.zfabrik.cluster.IInvalidator
- TYPE - Static variable in interface com.zfabrik.workers.IMessageHandler
V
- VMOPTS - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.process.vmOptions") General virtual machine parameters for the worker process.
W
- WORKER_CONCURRENCY - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.concurrency") Size of application thread pool (see
ApplicationThreadPool
). - WORKER_DEBUG - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.debug") Debugging for the worker process will be configured if this system property is set to
true
in the home process, e.g. - WORKER_REMOTE_JMX - Static variable in interface com.zfabrik.workers.home.IWorkerProcess
-
("worker.remoteJmx") JMX remote access for the worker process will be configured if this system property is set to
true
in the home process, e.g. - WorkerUtils - Class in com.zfabrik.workers.home
-
Some utility methods around worker process handling
- WorkerUtils() - Constructor for class com.zfabrik.workers.home.WorkerUtils
All Classes|All Packages|Constant Field Values