public interface ReleaseableLatch
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReleaseableLatch.Factory |
| Modifier and Type | Field and Description |
|---|---|
static ReleaseableLatch |
NOP |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire(Entity caller)
Increment usage count for the
caller entity. |
void |
release(Entity caller)
Decrement usage count for the
caller entity. |
static final ReleaseableLatch NOP
void acquire(Entity caller)
caller entity. Implementations may ignore caller.caller - The entity latching on the objectvoid release(Entity caller)
caller entity. Implementations may ignore caller.caller - The entity latching on the object