public class Counter_1<T extends IJCOBridgeReflected> extends Instrument_1<T>
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.Metrics.Counter`1
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Diagnostics.DiagnosticSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.DiagnosticSource
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.Metrics.Counter`1
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Counter_1() |
Counter_1(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(T delta) |
void |
Add(T delta,
JCORefOut<TagList> tagList) |
void |
Add(T delta,
KeyValuePair_2... tags) |
void |
Add(T delta,
KeyValuePair_2 tag) |
void |
Add(T delta,
KeyValuePair_2 tag1,
KeyValuePair_2 tag2) |
void |
Add(T delta,
KeyValuePair_2 tag1,
KeyValuePair_2 tag2,
KeyValuePair_2 tag3) |
static Counter_1 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Counter_1, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
getAdvicegetDescription, getEnabled, getIsObservable, getMeter, getName, getTags, getUnitpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic Counter_1()
throws java.lang.Throwable
java.lang.Throwablepublic Counter_1(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(T delta) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArrayTypeMismatchExceptionpublic void Add(T delta, JCORefOut<TagList> tagList) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionpublic void Add(T delta, KeyValuePair_2... tags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionpublic void Add(T delta, KeyValuePair_2 tag) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic void Add(T delta, KeyValuePair_2 tag1, KeyValuePair_2 tag2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic void Add(T delta, KeyValuePair_2 tag1, KeyValuePair_2 tag2, KeyValuePair_2 tag3) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Counter_1 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Counter_1, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCounter_1 instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Instrument_1<T extends IJCOBridgeReflected>String representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Instrument_1<T extends IJCOBridgeReflected>String representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Instrument_1<T extends IJCOBridgeReflected>Object representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Instrument_1<T extends IJCOBridgeReflected>String representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class Instrument_1<T extends IJCOBridgeReflected>JCType representing the CLR Type of the instantiated Classpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class Instrument_1<T extends IJCOBridgeReflected>