Table of Contents

Class Phaser

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class Phaser : JVMBridgeBase<Phaser>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Phaser>
Phaser
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Phaser>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Phaser>.IsAssignableFrom<T>()
JVMBridgeBase<Phaser>.Execute<T>(params T[])
JVMBridgeBase<Phaser>.DynBridgeClazz
JVMBridgeBase<Phaser>.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

Phaser()

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

public Phaser()

Phaser(Phaser)

public Phaser(Phaser arg0)

Parameters

arg0 Phaser

Phaser

Phaser(Phaser, int)

public Phaser(Phaser arg0, int arg1)

Parameters

arg0 Phaser

Phaser

arg1 int

int

Phaser(int)

public Phaser(int arg0)

Parameters

arg0 int

int

Phaser(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 Phaser(params object[] args)

Parameters

args object[]

Properties

ArrivedParties

public int ArrivedParties { get; }

Property Value

int

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

Parent

public Phaser Parent { get; }

Property Value

Phaser

Phase

public int Phase { get; }

Property Value

int

RegisteredParties

public int RegisteredParties { get; }

Property Value

int

Root

public Phaser Root { get; }

Property Value

Phaser

UnarrivedParties

public int UnarrivedParties { get; }

Property Value

int

Methods

Arrive()

public int Arrive()

Returns

int

int

ArriveAndAwaitAdvance()

public int ArriveAndAwaitAdvance()

Returns

int

int

ArriveAndDeregister()

public int ArriveAndDeregister()

Returns

int

int

AwaitAdvance(int)

public int AwaitAdvance(int arg0)

Parameters

arg0 int

int

Returns

int

int

AwaitAdvanceInterruptibly(int)

public int AwaitAdvanceInterruptibly(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

InterruptedException

AwaitAdvanceInterruptibly(int, long, TimeUnit)

public int AwaitAdvanceInterruptibly(int arg0, long arg1, TimeUnit arg2)

Parameters

arg0 int

int

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

int

int

Exceptions

InterruptedException
TimeoutException

BulkRegister(int)

public int BulkRegister(int arg0)

Parameters

arg0 int

int

Returns

int

int

ForceTermination()

public void ForceTermination()

IsTerminated()

public bool IsTerminated()

Returns

bool

bool

Register()

public int Register()

Returns

int

int