Package system.diagnostics
Class PerformanceCounter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.diagnostics.PerformanceCounter
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class PerformanceCounter extends Component
The base .NET class managing System.Diagnostics.PerformanceCounter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.PerformanceCounter
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Diagnostics.PerformanceCounterstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PerformanceCounter()PerformanceCounter(java.lang.Object instance)Internal constructor.PerformanceCounter(java.lang.String categoryName, java.lang.String counterName)PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, boolean readOnly)PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, java.lang.String instanceName)PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, java.lang.String instanceName, boolean readOnly)PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, java.lang.String instanceName, java.lang.String machineName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidBeginInit()static PerformanceCountercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoPerformanceCounter, a cast assert is made to check if types are compatible.voidClose()static voidCloseSharedResources()longDecrement()voidEndInit()java.lang.StringgetCategoryName()java.lang.StringgetCounterHelp()java.lang.StringgetCounterName()PerformanceCounterTypegetCounterType()PerformanceCounterInstanceLifetimegetInstanceLifetime()java.lang.StringgetInstanceName()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetMachineName()longgetRawValue()booleangetReadOnly()longIncrement()longIncrementBy(long value)CounterSampleNextSample()SingleNextValue()voidRemoveInstance()voidsetCategoryName(java.lang.String CategoryName)voidsetCounterName(java.lang.String CounterName)voidsetInstanceLifetime(PerformanceCounterInstanceLifetime InstanceLifetime)voidsetInstanceName(java.lang.String InstanceName)voidsetJCOInstance(JCObject instance)voidsetMachineName(java.lang.String MachineName)voidsetRawValue(long RawValue)voidsetReadOnly(boolean ReadOnly)-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Diagnostics.PerformanceCounter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PerformanceCounter
public PerformanceCounter(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
PerformanceCounter
public PerformanceCounter() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
PerformanceCounter
public PerformanceCounter(java.lang.String categoryName, java.lang.String counterName) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, SecurityException, Win32Exception, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, UnauthorizedAccessException, IOException, OutOfMemoryException, SystemException, ApplicationException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentExceptionSecurityExceptionWin32ExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionUnauthorizedAccessExceptionIOExceptionOutOfMemoryExceptionSystemExceptionApplicationException
-
PerformanceCounter
public PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, boolean readOnly) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, ArgumentException, SecurityException, IndexOutOfRangeException, Win32Exception, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, ApplicationException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentExceptionSecurityExceptionIndexOutOfRangeExceptionWin32ExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionNullReferenceExceptionPlatformNotSupportedExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionApplicationException
-
PerformanceCounter
public PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, java.lang.String instanceName) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, ArgumentException, SecurityException, IndexOutOfRangeException, Win32Exception, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, ApplicationException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentExceptionSecurityExceptionIndexOutOfRangeExceptionWin32ExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionNullReferenceExceptionPlatformNotSupportedExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionApplicationException
-
PerformanceCounter
public PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, java.lang.String instanceName, boolean readOnly) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, ArgumentException, SecurityException, IndexOutOfRangeException, Win32Exception, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, IOException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentExceptionSecurityExceptionIndexOutOfRangeExceptionWin32ExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionNullReferenceExceptionPlatformNotSupportedExceptionIOExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
PerformanceCounter
public PerformanceCounter(java.lang.String categoryName, java.lang.String counterName, java.lang.String instanceName, java.lang.String machineName) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classComponent- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classComponent- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classComponent- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classComponent- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classComponent- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static PerformanceCounter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoPerformanceCounter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
PerformanceCounterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Decrement
public long Decrement() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
Increment
public long Increment() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
IncrementBy
public long IncrementBy(long value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
NextValue
public Single NextValue() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, Win32Exception, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, ApplicationException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionApplicationExceptionAccessViolationException
-
NextSample
public CounterSample NextSample() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, Win32Exception, IOException, SecurityException, IndexOutOfRangeException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNullReferenceExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionIndexOutOfRangeExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowExceptionAccessViolationException
-
BeginInit
public void BeginInit() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Close
public void Close() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CloseSharedResources
public static void CloseSharedResources() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException
-
EndInit
public void EndInit() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException, PlatformNotSupportedException, NotSupportedException, Win32Exception, IOException, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNullReferenceExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
RemoveInstance
public void RemoveInstance() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, IndexOutOfRangeException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionIndexOutOfRangeExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
getReadOnly
public boolean getReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setReadOnly
public void setReadOnly(boolean ReadOnly) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, ArgumentException, SecurityException, IndexOutOfRangeException, Win32Exception, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentExceptionSecurityExceptionIndexOutOfRangeExceptionWin32ExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedException
-
getRawValue
public long getRawValue() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, NullReferenceException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, Win32Exception, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, ApplicationException, AccessViolationException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNullReferenceExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionApplicationExceptionAccessViolationException
-
setRawValue
public void setRawValue(long RawValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
getInstanceLifetime
public PerformanceCounterInstanceLifetime getInstanceLifetime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInstanceLifetime
public void setInstanceLifetime(PerformanceCounterInstanceLifetime InstanceLifetime) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getCounterType
public PerformanceCounterType getCounterType() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, Win32Exception, IOException, SecurityException, IndexOutOfRangeException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNullReferenceExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionIndexOutOfRangeExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowExceptionAccessViolationException
-
getCategoryName
public java.lang.String getCategoryName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCategoryName
public void setCategoryName(java.lang.String CategoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
getCounterHelp
public java.lang.String getCounterHelp() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, Win32Exception, IOException, SecurityException, IndexOutOfRangeException, ConfigurationException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, OverflowException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNullReferenceExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionIndexOutOfRangeExceptionConfigurationExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionApplicationExceptionOverflowException
-
getCounterName
public java.lang.String getCounterName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCounterName
public void setCounterName(java.lang.String CounterName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
getInstanceName
public java.lang.String getInstanceName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setInstanceName
public void setInstanceName(java.lang.String InstanceName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
getMachineName
public java.lang.String getMachineName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMachineName
public void setMachineName(java.lang.String MachineName) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
-