public final class Listeners extends Object
Modifier and Type | Field and Description |
---|---|
RetryLatch |
listener |
long |
listenerEra |
Listeners |
next |
Constructor and Description |
---|
Listeners() |
Modifier and Type | Method and Description |
---|---|
void |
openAll(GammaObjectPool pool)
Opens all latches.
|
static void |
openAll(Listeners[] listenersArray,
GammaObjectPool pool)
Opens all the listeners.
|
void |
prepareForPooling()
Prepares this Listeners object for pooling.
|
public Listeners next
public RetryLatch listener
public long listenerEra
public void prepareForPooling()
public void openAll(GammaObjectPool pool)
pool
- the GammaObjectPool to store the discarded Listeners in.public static void openAll(Listeners[] listenersArray, GammaObjectPool pool)
listenersArray
- the array of Listeners to notify.pool
- the GammaObjectPool to pool the Listeners and the array containing the listeners.Copyright © 2020. All rights reserved.