public class Meter extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.Metrics.Meter
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=10.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.Meter
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Meter() |
Meter(MeterOptions options) |
Meter(java.lang.Object instance)
Internal constructor.
|
Meter(java.lang.String name) |
Meter(java.lang.String name,
java.lang.String version) |
Meter(java.lang.String name,
java.lang.String version,
IEnumerable_1 tags,
NetObject scope) |
| Modifier and Type | Method and Description |
|---|---|
static Meter |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Meter, a cast assert is made to check if types are compatible. |
void |
close() |
<T extends IJCOBridgeReflected> |
CreateCounter(java.lang.String name,
java.lang.String unit,
java.lang.String description) |
<T extends IJCOBridgeReflected> |
CreateCounter(java.lang.String name,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags) |
<T extends IJCOBridgeReflected> |
CreateGauge(java.lang.String name) |
<T extends IJCOBridgeReflected> |
CreateGauge(java.lang.String name,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags) |
<T extends IJCOBridgeReflected> |
CreateHistogram(java.lang.String name) |
<T extends IJCOBridgeReflected> |
CreateHistogram(java.lang.String name,
java.lang.String unit,
java.lang.String description) |
<T extends IJCOBridgeReflected> |
CreateHistogram(java.lang.String name,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags) |
<T extends IJCOBridgeReflected> |
CreateHistogram(java.lang.String name,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags,
InstrumentAdvice_1 advice) |
<T extends IJCOBridgeReflected> |
CreateObservableCounter(java.lang.String name,
Func_1 observeValues,
java.lang.String unit,
java.lang.String description) |
<T extends IJCOBridgeReflected> |
CreateObservableCounter(java.lang.String name,
Func_1 observeValues,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags) |
<T extends IJCOBridgeReflected> |
CreateObservableGauge(java.lang.String name,
Func_1 observeValues,
java.lang.String unit,
java.lang.String description) |
<T extends IJCOBridgeReflected> |
CreateObservableGauge(java.lang.String name,
Func_1 observeValues,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags) |
<T extends IJCOBridgeReflected> |
CreateObservableUpDownCounter(java.lang.String name,
Func_1 observeValues,
java.lang.String unit,
java.lang.String description) |
<T extends IJCOBridgeReflected> |
CreateObservableUpDownCounter(java.lang.String name,
Func_1 observeValues,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags) |
<T extends IJCOBridgeReflected> |
CreateUpDownCounter(java.lang.String name,
java.lang.String unit,
java.lang.String description) |
<T extends IJCOBridgeReflected> |
CreateUpDownCounter(java.lang.String name,
java.lang.String unit,
java.lang.String description,
IEnumerable_1 tags) |
void |
Dispose() |
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
|
java.lang.String |
getName() |
NetObject |
getScope() |
IEnumerable_1 |
getTags() |
java.lang.String |
getTelemetrySchemaUrl() |
java.lang.String |
getVersion() |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
setName(java.lang.String Name) |
void |
setScope(NetObject Scope) |
void |
setTags(IEnumerable_1 Tags) |
void |
setTelemetrySchemaUrl(java.lang.String TelemetrySchemaUrl) |
void |
setVersion(java.lang.String Version) |
public 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 Meter()
throws java.lang.Throwable
java.lang.Throwablepublic Meter(MeterOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArrayTypeMismatchExceptionpublic Meter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Meter(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
InvalidOperationException,
CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionInvalidOperationExceptionCultureNotFoundExceptionpublic Meter(java.lang.String name,
java.lang.String version)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
InvalidOperationException,
CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionInvalidOperationExceptionCultureNotFoundExceptionpublic Meter(java.lang.String name,
java.lang.String version,
IEnumerable_1 tags,
NetObject scope)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArrayTypeMismatchExceptionpublic static Meter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Meter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMeter instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic <T extends IJCOBridgeReflected> Counter_1 CreateCounter(java.lang.String name, java.lang.String unit, java.lang.String description) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> Counter_1 CreateCounter(java.lang.String name, java.lang.String unit, java.lang.String description, IEnumerable_1 tags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> Gauge_1 CreateGauge(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> Gauge_1 CreateGauge(java.lang.String name, java.lang.String unit, java.lang.String description, IEnumerable_1 tags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> Histogram_1 CreateHistogram(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> Histogram_1 CreateHistogram(java.lang.String name, java.lang.String unit, java.lang.String description) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> Histogram_1 CreateHistogram(java.lang.String name, java.lang.String unit, java.lang.String description, IEnumerable_1 tags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> Histogram_1 CreateHistogram(java.lang.String name, java.lang.String unit, java.lang.String description, IEnumerable_1 tags, InstrumentAdvice_1 advice) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> ObservableCounter_1 CreateObservableCounter(java.lang.String name, Func_1 observeValues, java.lang.String unit, java.lang.String description) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
public <T extends IJCOBridgeReflected> ObservableCounter_1 CreateObservableCounter(java.lang.String name, Func_1 observeValues, java.lang.String unit, java.lang.String description, IEnumerable_1 tags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
public <T extends IJCOBridgeReflected> ObservableGauge_1 CreateObservableGauge(java.lang.String name, Func_1 observeValues, java.lang.String unit, java.lang.String description) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
public <T extends IJCOBridgeReflected> ObservableGauge_1 CreateObservableGauge(java.lang.String name, Func_1 observeValues, java.lang.String unit, java.lang.String description, IEnumerable_1 tags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
public <T extends IJCOBridgeReflected> ObservableUpDownCounter_1 CreateObservableUpDownCounter(java.lang.String name, Func_1 observeValues, java.lang.String unit, java.lang.String description) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
public <T extends IJCOBridgeReflected> ObservableUpDownCounter_1 CreateObservableUpDownCounter(java.lang.String name, Func_1 observeValues, java.lang.String unit, java.lang.String description, IEnumerable_1 tags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, ArrayTypeMismatchException, FormatException
public <T extends IJCOBridgeReflected> UpDownCounter_1 CreateUpDownCounter(java.lang.String name, java.lang.String unit, java.lang.String description) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
public <T extends IJCOBridgeReflected> UpDownCounter_1 CreateUpDownCounter(java.lang.String name, java.lang.String unit, java.lang.String description, IEnumerable_1 tags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
public void Dispose()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwablepublic NetObject getScope() throws java.lang.Throwable
java.lang.Throwablepublic IEnumerable_1 getTags() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getTelemetrySchemaUrl()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getVersion()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void setName(java.lang.String Name)
throws java.lang.Throwable
java.lang.Throwablepublic void setScope(NetObject Scope) throws java.lang.Throwable
java.lang.Throwablepublic void setTags(IEnumerable_1 Tags) throws java.lang.Throwable
java.lang.Throwablepublic void setTelemetrySchemaUrl(java.lang.String TelemetrySchemaUrl)
throws java.lang.Throwable
java.lang.Throwablepublic void setVersion(java.lang.String Version)
throws java.lang.Throwable
java.lang.Throwable