Table of Contents

Class Timer

Namespace
Javax.Management.Timer
Assembly
MASES.JNet.dll
public class Timer : NotificationBroadcasterSupport, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, INotificationEmitter, INotificationBroadcaster
Inheritance
JVMBridgeBase
Timer
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<NotificationBroadcaster>.IsAssignableFrom(IJavaType)
JVMBridgeBase<NotificationBroadcaster>.IsAssignableFrom<T>()
JVMBridgeBase<NotificationBroadcaster>.Execute<T>(params T[])
JVMBridgeBase<NotificationBroadcaster>.DynBridgeClazz
JVMBridgeBase<NotificationBroadcaster>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Timer()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Timer()

Timer(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Timer(params object[] args)

Parameters

args object[]

Properties

AllNotificationIDs

public Vector<Integer> AllNotificationIDs { get; }

Property Value

Vector<Integer>

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

NbNotifications

public int NbNotifications { get; }

Property Value

int

ONE_DAY

public static long ONE_DAY { get; }

Property Value

long

ONE_HOUR

public static long ONE_HOUR { get; }

Property Value

long

ONE_MINUTE

public static long ONE_MINUTE { get; }

Property Value

long

ONE_SECOND

public static long ONE_SECOND { get; }

Property Value

long

ONE_WEEK

public static long ONE_WEEK { get; }

Property Value

long

SendPastNotifications

public bool SendPastNotifications { get; set; }

Property Value

bool

Methods

AddNotification(String, String, object, Date)

public Integer AddNotification(String arg0, String arg1, object arg2, Date arg3)

Parameters

arg0 String

String

arg1 String

String

arg2 object

object

arg3 Date

Date

Returns

Integer

Integer

Exceptions

IllegalArgumentException

AddNotification(String, String, object, Date, long)

public Integer AddNotification(String arg0, String arg1, object arg2, Date arg3, long arg4)

Parameters

arg0 String

String

arg1 String

String

arg2 object

object

arg3 Date

Date

arg4 long

long

Returns

Integer

Integer

Exceptions

IllegalArgumentException

AddNotification(String, String, object, Date, long, long)

public Integer AddNotification(String arg0, String arg1, object arg2, Date arg3, long arg4, long arg5)

Parameters

arg0 String

String

arg1 String

String

arg2 object

object

arg3 Date

Date

arg4 long

long

arg5 long

long

Returns

Integer

Integer

Exceptions

IllegalArgumentException

AddNotification(String, String, object, Date, long, long, bool)

public Integer AddNotification(String arg0, String arg1, object arg2, Date arg3, long arg4, long arg5, bool arg6)

Parameters

arg0 String

String

arg1 String

String

arg2 object

object

arg3 Date

Date

arg4 long

long

arg5 long

long

arg6 bool

bool

Returns

Integer

Integer

Exceptions

IllegalArgumentException

GetDate(Integer)

public Date GetDate(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

Date

Date

GetFixedRate(Integer)

public Boolean GetFixedRate(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

Boolean

Boolean

GetNbOccurences(Integer)

public Long GetNbOccurences(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

Long

Long

GetNotificationIDs(String)

public Vector<Integer> GetNotificationIDs(String arg0)

Parameters

arg0 String

String

Returns

Vector<Integer>

Vector

GetNotificationMessage(Integer)

public String GetNotificationMessage(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

String

String

GetNotificationType(Integer)

public String GetNotificationType(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

String

String

GetNotificationUserData(Integer)

public object GetNotificationUserData(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

object

object

GetPeriod(Integer)

public Long GetPeriod(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

Long

Long

IsActive()

public bool IsActive()

Returns

bool

bool

IsEmpty()

public bool IsEmpty()

Returns

bool

bool

PostDeregister()

public void PostDeregister()

PostRegister(Boolean)

public void PostRegister(Boolean arg0)

Parameters

arg0 Boolean

Boolean

PreDeregister()

public void PreDeregister()

Exceptions

Exception

PreRegister(MBeanServer, ObjectName)

public ObjectName PreRegister(MBeanServer arg0, ObjectName arg1)

Parameters

arg0 MBeanServer

MBeanServer

arg1 ObjectName

ObjectName

Returns

ObjectName

ObjectName

Exceptions

Exception

RemoveAllNotifications()

public void RemoveAllNotifications()

RemoveNotification(Integer)

public void RemoveNotification(Integer arg0)

Parameters

arg0 Integer

Integer

Exceptions

InstanceNotFoundException

RemoveNotifications(String)

public void RemoveNotifications(String arg0)

Parameters

arg0 String

String

Exceptions

InstanceNotFoundException

Start()

public void Start()

Stop()

public void Stop()

Operators

implicit operator MBeanRegistration(Timer)

Converter from Timer to MBeanRegistration

public static implicit operator MBeanRegistration(Timer t)

Parameters

t Timer

Returns

MBeanRegistration

implicit operator TimerMBean(Timer)

Converter from Timer to TimerMBean

public static implicit operator TimerMBean(Timer t)

Parameters

t Timer

Returns

TimerMBean