public class UpDownCounter_1<T extends IJCOBridgeReflected> extends Instrument_1<T>
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.Metrics.UpDownCounter-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=11.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.UpDownCounter`1
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
UpDownCounter_1() |
UpDownCounter_1(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(T delta)
Invokes the .NET member Add.
|
void |
Add(T delta,
JCORefOut<TagList> tagList)
Invokes the .NET member Add.
|
void |
Add(T delta,
KeyValuePair_2... tags)
Invokes the .NET member Add.
|
void |
Add(T delta,
KeyValuePair_2 tag)
Invokes the .NET member Add.
|
void |
Add(T delta,
KeyValuePair_2 tag1,
KeyValuePair_2 tag2)
Invokes the .NET member Add.
|
void |
Add(T delta,
KeyValuePair_2 tag1,
KeyValuePair_2 tag2,
KeyValuePair_2 tag3)
Invokes the .NET member Add.
|
static UpDownCounter_1 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into UpDownCounter_1, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
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 UpDownCounter_1()
throws java.lang.Throwable
java.lang.Throwablepublic UpDownCounter_1(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void Add(T delta) throws java.lang.Throwable, PlatformNotSupportedException, ArrayTypeMismatchException
delta - the argument of type Tjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Add(T delta, JCORefOut<TagList> tagList) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException
delta - the argument of type TtagList - the argument of type JCORefOut<TagList>java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Add(T delta, KeyValuePair_2... tags) throws java.lang.Throwable, PlatformNotSupportedException, ArrayTypeMismatchException
delta - the argument of type Ttags - the argument of type KeyValuePair_2...java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Add(T delta, KeyValuePair_2 tag) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
delta - the argument of type Ttag - the argument of type KeyValuePair_2java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void Add(T delta, KeyValuePair_2 tag1, KeyValuePair_2 tag2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
delta - the argument of type Ttag1 - the argument of type KeyValuePair_2tag2 - the argument of type KeyValuePair_2java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void Add(T delta, KeyValuePair_2 tag1, KeyValuePair_2 tag2, KeyValuePair_2 tag3) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
delta - the argument of type Ttag1 - the argument of type KeyValuePair_2tag2 - the argument of type KeyValuePair_2tag3 - the argument of type KeyValuePair_2java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static UpDownCounter_1 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into UpDownCounter_1, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedUpDownCounter_1 instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Instrument_1<T extends IJCOBridgeReflected>public java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Instrument_1<T extends IJCOBridgeReflected>public java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Instrument_1<T extends IJCOBridgeReflected>null if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Instrument_1<T extends IJCOBridgeReflected>public JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Instrument_1<T extends IJCOBridgeReflected>public void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Instrument_1<T extends IJCOBridgeReflected>instance - the new underlying object