com.cisco.oss.foundation.monitoring
Enum CommunicationInfo

java.lang.Object
  extended by java.lang.Enum<CommunicationInfo>
      extended by com.cisco.oss.foundation.monitoring.CommunicationInfo
All Implemented Interfaces:
Serializable, Comparable<CommunicationInfo>

public enum CommunicationInfo
extends Enum<CommunicationInfo>


Enum Constant Summary
INSTANCE
           
 
Field Summary
 ExecutorService actorsThreadPool
           
 
Method Summary
static CommunicationInfo getCommunicationInfo()
           
 void setConfiguration(org.apache.commons.configuration.Configuration configuration)
           
 void transactionFinished(ServerConnectionDetails connetionDetails, String apiName, boolean isFailed, String description)
           
 void transactionFinished(ServiceDetails serviceDetails, String apiName, boolean isFailed, String description)
           
 void transactionStarted(ServerConnectionDetails connetionDetails, String apiName)
           
 void transactionStarted(ServiceDetails serviceDetails, String apiName)
           
 void transactionStarted(ServiceDetails serviceDetails, String apiName, int usedThreads)
           
static CommunicationInfo valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CommunicationInfo[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final CommunicationInfo INSTANCE
Field Detail

actorsThreadPool

public final ExecutorService actorsThreadPool
Method Detail

values

public static CommunicationInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CommunicationInfo c : CommunicationInfo.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CommunicationInfo valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

setConfiguration

public void setConfiguration(org.apache.commons.configuration.Configuration configuration)

getCommunicationInfo

public static CommunicationInfo getCommunicationInfo()

transactionStarted

public void transactionStarted(ServiceDetails serviceDetails,
                               String apiName,
                               int usedThreads)

transactionStarted

public void transactionStarted(ServiceDetails serviceDetails,
                               String apiName)

transactionFinished

public void transactionFinished(ServiceDetails serviceDetails,
                                String apiName,
                                boolean isFailed,
                                String description)

transactionStarted

public void transactionStarted(ServerConnectionDetails connetionDetails,
                               String apiName)

transactionFinished

public void transactionFinished(ServerConnectionDetails connetionDetails,
                                String apiName,
                                boolean isFailed,
                                String description)


Copyright © 2015 Cisco. All Rights Reserved.