public interface ConnectionIdManager
| Modifier and Type | Method and Description |
|---|---|
void |
addClosedId(long closedId)
Notify this manager that id of corresponding connection has addClosedId.
|
long |
getId(Connection connection) |
Set<Long> |
getOpenConnectionIds()
Return set of connection ids that have not yet addClosedId.
|
long getId(Connection connection)
void addClosedId(long closedId)
closedId - addClosedId connection idCopyright © 2017. All rights reserved.