private final class ServerSessionPool.ServerSessionItemFactory extends java.lang.Object implements ConcurrentPool.ItemFactory<ServerSessionPool.ServerSessionImpl>
Modifier | Constructor and Description |
---|---|
private |
ServerSessionItemFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close(ServerSessionPool.ServerSessionImpl serverSession) |
ServerSessionPool.ServerSessionImpl |
create(boolean initialize) |
private BsonBinary |
createNewServerSessionIdentifier() |
ConcurrentPool.Prune |
shouldPrune(ServerSessionPool.ServerSessionImpl serverSession) |
public ServerSessionPool.ServerSessionImpl create(boolean initialize)
create
in interface ConcurrentPool.ItemFactory<ServerSessionPool.ServerSessionImpl>
public void close(ServerSessionPool.ServerSessionImpl serverSession)
close
in interface ConcurrentPool.ItemFactory<ServerSessionPool.ServerSessionImpl>
public ConcurrentPool.Prune shouldPrune(ServerSessionPool.ServerSessionImpl serverSession)
shouldPrune
in interface ConcurrentPool.ItemFactory<ServerSessionPool.ServerSessionImpl>
private BsonBinary createNewServerSessionIdentifier()