Package org.basex.server
Class Sessions
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<ClientListener>,Collection<ClientListener>,List<ClientListener>,RandomAccess
This class organizes all currently opened database sessions.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
add, add, addAll, addAll, addAllAbsent, addIfAbsent, clear, clone, contains, containsAll, equals, forEach, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Constructor Details
-
Sessions
public Sessions()
-
-
Method Details
-
info
Returns information about the currently opened sessions.- Returns:
- data reference
-
close
public void close()Closes all sessions.
-