Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## Namespace: OtlSync
Class TOmniLockManager<K>

    System.TInterfacedObject
      |
      +-- OtlSync.TOmniLockManager<K>

All Implemented Interfaces:
  IOmniLockManager<K>

public class TOmniLockManager<K> ( System.TInterfacedObject , IOmniLockManager<K> )

Generic Parameters
  K

Sealed
  False

Abstract
  False

Persistent
  False

Constructor Summary
`Create(capacity: integer)`
`Create(comparer: IEqualityComparer<K>; capacity: integer)`

Method Summary
`public function IOmniLockManager<K>` | `CreateInterface(capacity: integer)`
`public function IOmniLockManager<K>` | `CreateInterface(comparer: IEqualityComparer<K>; capacity: integer)`
`public Sub` | `Destroy()`
`public function boolean` | `Lock(key: K; timeout_ms: cardinal)`
`public function IOmniLockManagerAutoUnlock` | `LockUnlock(key: K; timeout_ms: cardinal)`
`public Sub` | `Unlock(key: K)`

Constructor Detail

### Create

    public constructor Create(capacity: integer)

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

### Create

    public constructor Create(comparer: IEqualityComparer<K>; capacity: integer)

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

Method Detail

### CreateInterface

    public function CreateInterface(capacity: integer): IOmniLockManager<K>

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  IOmniLockManager<K>

Override
  False

Virtual
  False

Class
  True

### CreateInterface

    public function CreateInterface(comparer: IEqualityComparer<K>; capacity: integer): IOmniLockManager<K>

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  IOmniLockManager<K>

Override
  False

Virtual
  False

Class
  True

### Destroy

    public procedure Destroy()

Reintroduce
  False

Virtual
  False

Override
  True

Abstract
  False

Final
  False

### Lock

    public function Lock(key: K; timeout_ms: cardinal): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### LockUnlock

    public function LockUnlock(key: K; timeout_ms: cardinal): IOmniLockManagerAutoUnlock

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  IOmniLockManagerAutoUnlock

Override
  False

Virtual
  False

Class
  False

### Unlock

    public procedure Unlock(key: K)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

Implementation Link

to Interface IOmniLockManager<K>

Client
  TOmniLockManager

Supplier
  IOmniLockManager

Association Link

to Struct TOmniCS

Supplier
  TOmniCS

Directed
  False

Client
  FLock

Type
  association

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD