Table of Contents

Class Time

Namespace
Org.Apache.Kafka.Common.Utils
Assembly
MASES.KNet.dll
public class Time : JVMBridgeBase<Time>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ITime
Inheritance
JVMBridgeBase
JVMBridgeBase<Time>
Time
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Time>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Time>.IsAssignableFrom<T>()
JVMBridgeBase<Time>.Execute<T>(params T[])
JVMBridgeBase<Time>.DynBridgeClazz
JVMBridgeBase<Time>.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

Constructors

Time()

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

[Obsolete("Time class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Time()

Time(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

[Obsolete("Time class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Time(params object[] args)

Parameters

args object[]

Properties

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

SYSTEM

public static Time SYSTEM { get; }

Property Value

Time

Methods

HiResClockMs()

public long HiResClockMs()

Returns

long

long

Milliseconds()

public long Milliseconds()

Returns

long

long

Nanoseconds()

public long Nanoseconds()

Returns

long

long

Sleep(long)

public void Sleep(long arg0)

Parameters

arg0 long

long

Timer(Duration)

public Timer Timer(Duration arg0)

Parameters

arg0 Duration

Duration

Returns

Timer

Timer

Timer(long)

public Timer Timer(long arg0)

Parameters

arg0 long

long

Returns

Timer

Timer

WaitForFuture<T>(Future<T>, long)

public T WaitForFuture<T>(Future<T> arg0, long arg1)

Parameters

arg0 Future<T>

Future

arg1 long

long

Returns

T

T

Type Parameters

T

Exceptions

TimeoutException
InterruptedException
ExecutionException

WaitObject(object, Supplier<Boolean>, long)

public void WaitObject(object arg0, Supplier<Boolean> arg1, long arg2)

Parameters

arg0 object

object

arg1 Supplier<Boolean>

Supplier

arg2 long

long

Exceptions

InterruptedException