|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.server.Sessions
public final class Sessions
This is a simple container for sessions.
| Constructor Summary | |
|---|---|
Sessions()
|
|
| Method Summary | |
|---|---|
void |
add(ServerProcess s)
Adds a session to the array. |
void |
delete(ServerProcess s)
Deletes the specified entry. |
ServerProcess |
get(int p)
Returns the specified entry. |
String |
info()
Returns information on the opened database instances. |
Iterator<ServerProcess> |
iterator()
|
int |
size()
Returns the number of entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sessions()
| Method Detail |
|---|
public void add(ServerProcess s)
s - string to be addedpublic int size()
public ServerProcess get(int p)
p - position
public void delete(ServerProcess s)
s - entry to be deletedpublic String info()
public Iterator<ServerProcess> iterator()
iterator in interface Iterable<ServerProcess>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||