public class SessionManager extends Object
| Constructor and Description |
|---|
SessionManager(AccumuloConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
long |
createSession(Session session,
boolean reserve) |
List<ActiveScan> |
getActiveScans() |
Map<String,MapCounter<ScanRunState>> |
getActiveScansPerTable() |
long |
getMaxIdleTime() |
Session |
getSession(long sessionId) |
void |
removeIfNotAccessed(long sessionId,
long delay) |
Session |
removeSession(long sessionId) |
Session |
removeSession(long sessionId,
boolean unreserve) |
Session |
reserveSession(long sessionId)
while a session is reserved, it cannot be canceled or removed
|
Session |
reserveSession(long sessionId,
boolean wait) |
void |
unreserveSession(long sessionId) |
void |
unreserveSession(Session session) |
public SessionManager(AccumuloConfiguration conf)
public long createSession(Session session, boolean reserve)
public long getMaxIdleTime()
public Session reserveSession(long sessionId)
public Session reserveSession(long sessionId, boolean wait)
public void unreserveSession(Session session)
public void unreserveSession(long sessionId)
public Session getSession(long sessionId)
public Session removeSession(long sessionId)
public Session removeSession(long sessionId, boolean unreserve)
public void removeIfNotAccessed(long sessionId,
long delay)
public Map<String,MapCounter<ScanRunState>> getActiveScansPerTable()
public List<ActiveScan> getActiveScans()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.