Table of Contents

Class JVMBridgeAutoLock

Namespace
MASES.JCOBridge.C2JBridge
Assembly
C2JBridge.dll

Helper class to automatically release lock by a using clause

public class JVMBridgeAutoLock : IDisposable
Inheritance
JVMBridgeAutoLock
Implements
Inherited Members
Extension Methods

Constructors

JVMBridgeAutoLock(IJVMBridgeBase)

Initialize a new instance of JVMBridgeAutoLock and execute MonitorEnter() on classToLock

public JVMBridgeAutoLock(IJVMBridgeBase classToLock)

Parameters

classToLock IJVMBridgeBase

The instance to lock

Methods

Dispose()

Release the lock using MonitorExit()

public void Dispose()

~JVMBridgeAutoLock()

Finalize the JVMBridgeAutoLock instance

protected ~JVMBridgeAutoLock()