public class EzyBlockingSocketUserRemovalQueue extends com.tvd12.ezyfox.util.EzyLoggable implements EzySocketUserRemovalQueue
| Constructor and Description |
|---|
EzyBlockingSocketUserRemovalQueue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(EzySocketUserRemoval removal) |
void |
clear() |
boolean |
isEmpty() |
void |
remove(EzySocketUserRemoval removal) |
int |
size() |
EzySocketUserRemoval |
take() |
public int size()
size in interface EzySocketUserRemovalQueuepublic void clear()
clear in interface EzySocketUserRemovalQueuepublic boolean isEmpty()
isEmpty in interface EzySocketUserRemovalQueuepublic boolean add(EzySocketUserRemoval removal)
add in interface EzySocketUserRemovalQueuepublic void remove(EzySocketUserRemoval removal)
remove in interface EzySocketUserRemovalQueuepublic EzySocketUserRemoval take() throws InterruptedException
take in interface EzySocketUserRemovalQueueInterruptedExceptionCopyright © 2021 Young Monkeys. All rights reserved.