com.oracle.coherence.patterns.command.internal
Class CommandExecutorManager

java.lang.Object
  extended by com.oracle.coherence.patterns.command.internal.CommandExecutorManager

public final class CommandExecutorManager
extends Object

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.

Author:
Brian Oliver

Constructor Summary
CommandExecutorManager()
           
 
Method Summary
static CommandExecutor ensureCommandExecutor(Identifier contextIdentifier, com.tangosol.net.PartitionedService partitionedService)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandExecutorManager

public CommandExecutorManager()
Method Detail

ensureCommandExecutor

public static CommandExecutor ensureCommandExecutor(Identifier contextIdentifier,
                                                    com.tangosol.net.PartitionedService partitionedService)
Returns the 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.

Parameters:
contextIdentifier - The Identifier of the Context for which we are requesting a CommandExecutor.
partitionedService - the PartitionedService on which the CommandExecutor is operating
Returns:
CommandExecutor

getCommandExecutor

public static CommandExecutor getCommandExecutor(Identifier contextIdentifier)
Returns the CommandExecutor for the Context identified by the provided Identifier.

Parameters:
contextIdentifier - The Identifier of the Context for which we are requesting a CommandExecutor.
Returns:
null if no such CommandExecutor exists with the specified Identifier.

removeCommandExecutor

public static CommandExecutor removeCommandExecutor(Identifier contextIdentifier)
Removes the CommandExecutor for the Context with the specified Identifier.

Parameters:
contextIdentifier -


Copyright © 2016. All rights reserved.