protected abstract static class AbstractCassandraPersistence.AbstractConnection extends Object implements Persistence.Connection
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConnection(ClientInfo clientInfo) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ClientInfo> |
clientInfo() |
Optional<AuthenticatedUser> |
loggedUser() |
void |
login(AuthenticatedUser user) |
protected abstract void |
loginInternally(AuthenticatedUser user) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbatch, execute, persistence, prepare, setCustomProperties, usedKeyspaceprotected AbstractConnection(@Nullable ClientInfo clientInfo)
public Optional<ClientInfo> clientInfo()
clientInfo in interface Persistence.Connectionprotected abstract void loginInternally(AuthenticatedUser user)
public void login(AuthenticatedUser user)
login in interface Persistence.Connectionpublic Optional<AuthenticatedUser> loggedUser()
loggedUser in interface Persistence.ConnectionCopyright © 2021. All rights reserved.