|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oracle.coherence.patterns.command.internal.CommandExecutorManager
public final class CommandExecutorManager
An CommandExecutorManager is responsible for managing and scheduling
the current CommandExecutors for a Coherence Cluster Member.
Copyright (c) 2008. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Constructor Summary | |
|---|---|
CommandExecutorManager()
|
|
| Method Summary | |
|---|---|
static CommandExecutor |
ensureCommandExecutor(Identifier contextIdentifier,
com.tangosol.net.BackingMapManagerContext backingMapManagerContext)
Returns the CommandExecutor for the Context identified by the provided Identifier. |
static CommandExecutor |
getCommandExecutor(Identifier contextIdentifier)
Returns the CommandExecutor for the Context identified by the provided Identifier. |
static CommandExecutor |
removeCommandExecutor(Identifier contextIdentifier)
Removes the CommandExecutor for the Context with the specified Identifier. |
static void |
schedule(Runnable runnable,
long delay,
TimeUnit timeUnit)
Schedules the provided Runnable to be executed at a specified time in the future. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandExecutorManager()
| Method Detail |
|---|
public static CommandExecutor ensureCommandExecutor(Identifier contextIdentifier,
com.tangosol.net.BackingMapManagerContext backingMapManagerContext)
CommandExecutor for the Context identified by the provided Identifier.
If a CommandExecutor does not yet exist, one is created and associated with the specified
BackingMapManagerContext.
contextIdentifier - The Identifier of the Context for which we
are requesting a CommandExecutor.backingMapManagerContext - The BackingMapManagerContext to which the CommandExecutor
is associated
CommandExecutorpublic static CommandExecutor getCommandExecutor(Identifier contextIdentifier)
CommandExecutor for the Context identified by the provided Identifier.
contextIdentifier - The Identifier of the Context for which we are requesting a CommandExecutor.
null if no such CommandExecutor exists with the specified Identifier.public static CommandExecutor removeCommandExecutor(Identifier contextIdentifier)
CommandExecutor for the Context with the specified Identifier.
contextIdentifier -
public static void schedule(Runnable runnable,
long delay,
TimeUnit timeUnit)
Runnable to be executed at a specified time in the future.
runnable - The Runnable to executedelay - The minimum delay from now until the execution should commencetimeUnit - The TimeUnit for the specified delay
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||