net.m2technologies.open_arm.metric
Class ArmMetricFactoryImpl

java.lang.Object
  extended bynet.m2technologies.open_arm.transaction.ArmInterfaceImpl
      extended bynet.m2technologies.open_arm.metric.ArmMetricFactoryImpl
All Implemented Interfaces:
ArmInterface, ArmMetricFactory

public class ArmMetricFactoryImpl
extends ArmInterfaceImpl
implements ArmMetricFactory

Copyright 2005 Mark Masterson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Description:

Version:
0.009
Author:
Mark Masterson

Field Summary
 
Fields inherited from class net.m2technologies.open_arm.transaction.ArmInterfaceImpl
HASH_CODE_MAGIC_NUMBER
 
Fields inherited from interface org.opengroup.arm40.metric.ArmMetricFactory
propertyKey
 
Constructor Summary
ArmMetricFactoryImpl(ArmTransactionFactory creatingFactory)
           
 
Method Summary
 ArmMetricCounter32 newArmMetricCounter32(ArmMetricCounter32Definition definition)
           
 ArmMetricCounter32Definition newArmMetricCounter32Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricCounter64 newArmMetricCounter64(ArmMetricCounter64Definition definition)
           
 ArmMetricCounter64Definition newArmMetricCounter64Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricCounterFloat32 newArmMetricCounterFloat32(ArmMetricCounterFloat32Definition definition)
           
 ArmMetricCounterFloat32Definition newArmMetricCounterFloat32Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricGauge32 newArmMetricGauge32(ArmMetricGauge32Definition definition)
           
 ArmMetricGauge32Definition newArmMetricGauge32Definition(ArmApplicationDefinition appDef, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricGauge64 newArmMetricGauge64(ArmMetricGauge64Definition definition)
           
 ArmMetricGauge64Definition newArmMetricGauge64Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricGaugeFloat32 newArmMetricGaugeFloat32(ArmMetricGaugeFloat32Definition definition)
           
 ArmMetricGaugeFloat32Definition newArmMetricGaugeFloat32Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricGroup newArmMetricGroup(ArmMetricGroupDefinition groupDefinition, ArmMetric[] metrics)
           
 ArmMetricGroupDefinition newArmMetricGroupDefinition(ArmMetricDefinition[] definitions)
           
 ArmMetricNumericId32 newArmMetricNumericId32(ArmMetricNumericId32Definition definition)
           
 ArmMetricNumericId32Definition newArmMetricNumericId32Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricNumericId64 newArmMetricNumericId64(ArmMetricNumericId64Definition definition)
           
 ArmMetricNumericId64Definition newArmMetricNumericId64Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmMetricString32 newArmMetricString32(ArmMetricString32Definition definition)
           
 ArmMetricString32Definition newArmMetricString32Definition(ArmApplicationDefinition app, java.lang.String name, java.lang.String units, short usage, ArmID id)
           
 ArmTranReportWithMetrics newArmTranReportWithMetrics(ArmApplication app, ArmTransactionWithMetricsDefinition definition, ArmMetricGroup group)
           
 ArmTransactionWithMetrics newArmTransactionWithMetrics(ArmApplication app, ArmTransactionWithMetricsDefinition definition, ArmMetricGroup group)
           
 ArmTransactionWithMetricsDefinition newArmTransactionWithMetricsDefinition(ArmApplicationDefinition app, java.lang.String name, ArmIdentityPropertiesTransaction identityProperties, ArmMetricGroupDefinition definition, ArmID id)
           
 boolean setErrorCallback(ArmErrorCallback errorCallback)
           
 
Methods inherited from class net.m2technologies.open_arm.transaction.ArmInterfaceImpl
getCreatingFactory, getErrorCode, getErrorMessage, setErrorCode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Constructor Detail

ArmMetricFactoryImpl

public ArmMetricFactoryImpl(ArmTransactionFactory creatingFactory)
Method Detail

newArmMetricCounter32Definition

public ArmMetricCounter32Definition newArmMetricCounter32Definition(ArmApplicationDefinition app,
                                                                    java.lang.String name,
                                                                    java.lang.String units,
                                                                    short usage,
                                                                    ArmID id)
Specified by:
newArmMetricCounter32Definition in interface ArmMetricFactory

newArmMetricCounter64Definition

public ArmMetricCounter64Definition newArmMetricCounter64Definition(ArmApplicationDefinition app,
                                                                    java.lang.String name,
                                                                    java.lang.String units,
                                                                    short usage,
                                                                    ArmID id)
Specified by:
newArmMetricCounter64Definition in interface ArmMetricFactory

newArmMetricCounterFloat32Definition

public ArmMetricCounterFloat32Definition newArmMetricCounterFloat32Definition(ArmApplicationDefinition app,
                                                                              java.lang.String name,
                                                                              java.lang.String units,
                                                                              short usage,
                                                                              ArmID id)
Specified by:
newArmMetricCounterFloat32Definition in interface ArmMetricFactory

newArmMetricGauge32Definition

public ArmMetricGauge32Definition newArmMetricGauge32Definition(ArmApplicationDefinition appDef,
                                                                java.lang.String name,
                                                                java.lang.String units,
                                                                short usage,
                                                                ArmID id)
Specified by:
newArmMetricGauge32Definition in interface ArmMetricFactory

newArmMetricGauge64Definition

public ArmMetricGauge64Definition newArmMetricGauge64Definition(ArmApplicationDefinition app,
                                                                java.lang.String name,
                                                                java.lang.String units,
                                                                short usage,
                                                                ArmID id)
Specified by:
newArmMetricGauge64Definition in interface ArmMetricFactory

newArmMetricGaugeFloat32Definition

public ArmMetricGaugeFloat32Definition newArmMetricGaugeFloat32Definition(ArmApplicationDefinition app,
                                                                          java.lang.String name,
                                                                          java.lang.String units,
                                                                          short usage,
                                                                          ArmID id)
Specified by:
newArmMetricGaugeFloat32Definition in interface ArmMetricFactory

newArmMetricNumericId32Definition

public ArmMetricNumericId32Definition newArmMetricNumericId32Definition(ArmApplicationDefinition app,
                                                                        java.lang.String name,
                                                                        java.lang.String units,
                                                                        short usage,
                                                                        ArmID id)
Specified by:
newArmMetricNumericId32Definition in interface ArmMetricFactory

newArmMetricNumericId64Definition

public ArmMetricNumericId64Definition newArmMetricNumericId64Definition(ArmApplicationDefinition app,
                                                                        java.lang.String name,
                                                                        java.lang.String units,
                                                                        short usage,
                                                                        ArmID id)
Specified by:
newArmMetricNumericId64Definition in interface ArmMetricFactory

newArmMetricString32Definition

public ArmMetricString32Definition newArmMetricString32Definition(ArmApplicationDefinition app,
                                                                  java.lang.String name,
                                                                  java.lang.String units,
                                                                  short usage,
                                                                  ArmID id)
Specified by:
newArmMetricString32Definition in interface ArmMetricFactory

newArmMetricGroupDefinition

public ArmMetricGroupDefinition newArmMetricGroupDefinition(ArmMetricDefinition[] definitions)
Specified by:
newArmMetricGroupDefinition in interface ArmMetricFactory

newArmTransactionWithMetricsDefinition

public ArmTransactionWithMetricsDefinition newArmTransactionWithMetricsDefinition(ArmApplicationDefinition app,
                                                                                  java.lang.String name,
                                                                                  ArmIdentityPropertiesTransaction identityProperties,
                                                                                  ArmMetricGroupDefinition definition,
                                                                                  ArmID id)
Specified by:
newArmTransactionWithMetricsDefinition in interface ArmMetricFactory

newArmMetricCounter32

public ArmMetricCounter32 newArmMetricCounter32(ArmMetricCounter32Definition definition)
Specified by:
newArmMetricCounter32 in interface ArmMetricFactory

newArmMetricCounter64

public ArmMetricCounter64 newArmMetricCounter64(ArmMetricCounter64Definition definition)
Specified by:
newArmMetricCounter64 in interface ArmMetricFactory

newArmMetricCounterFloat32

public ArmMetricCounterFloat32 newArmMetricCounterFloat32(ArmMetricCounterFloat32Definition definition)
Specified by:
newArmMetricCounterFloat32 in interface ArmMetricFactory

newArmMetricGauge32

public ArmMetricGauge32 newArmMetricGauge32(ArmMetricGauge32Definition definition)
Specified by:
newArmMetricGauge32 in interface ArmMetricFactory

newArmMetricGauge64

public ArmMetricGauge64 newArmMetricGauge64(ArmMetricGauge64Definition definition)
Specified by:
newArmMetricGauge64 in interface ArmMetricFactory

newArmMetricGaugeFloat32

public ArmMetricGaugeFloat32 newArmMetricGaugeFloat32(ArmMetricGaugeFloat32Definition definition)
Specified by:
newArmMetricGaugeFloat32 in interface ArmMetricFactory

newArmMetricNumericId32

public ArmMetricNumericId32 newArmMetricNumericId32(ArmMetricNumericId32Definition definition)
Specified by:
newArmMetricNumericId32 in interface ArmMetricFactory

newArmMetricNumericId64

public ArmMetricNumericId64 newArmMetricNumericId64(ArmMetricNumericId64Definition definition)
Specified by:
newArmMetricNumericId64 in interface ArmMetricFactory

newArmMetricString32

public ArmMetricString32 newArmMetricString32(ArmMetricString32Definition definition)
Specified by:
newArmMetricString32 in interface ArmMetricFactory

newArmMetricGroup

public ArmMetricGroup newArmMetricGroup(ArmMetricGroupDefinition groupDefinition,
                                        ArmMetric[] metrics)
Specified by:
newArmMetricGroup in interface ArmMetricFactory

newArmTranReportWithMetrics

public ArmTranReportWithMetrics newArmTranReportWithMetrics(ArmApplication app,
                                                            ArmTransactionWithMetricsDefinition definition,
                                                            ArmMetricGroup group)
Specified by:
newArmTranReportWithMetrics in interface ArmMetricFactory

newArmTransactionWithMetrics

public ArmTransactionWithMetrics newArmTransactionWithMetrics(ArmApplication app,
                                                              ArmTransactionWithMetricsDefinition definition,
                                                              ArmMetricGroup group)
Specified by:
newArmTransactionWithMetrics in interface ArmMetricFactory

setErrorCallback

public boolean setErrorCallback(ArmErrorCallback errorCallback)
Specified by:
setErrorCallback in interface ArmMetricFactory