Searched defs:sessions (Results 1 - 2 of 2) sorted by relevance

/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DServerSessionContext.java28 * Caches server sessions. Indexes by session ID. Users typically look up
29 * sessions using the ID provided by an SSL client.
34 * TODO: Expire timed-out sessions more pro-actively.
37 private final Map<ByteArray, SSLSession> sessions field in class:ServerSessionContext
55 synchronized (sessions) {
56 SSLSession[] array = sessions.values().toArray(
57 new SSLSession[sessions.size()]);
63 synchronized (sessions) {
64 int size = sessions.size();
67 Iterator<SSLSession> i = sessions
[all...]
H A DClientSessionContext.java29 * Caches client sessions. Indexes by host and port. Users are typically
31 * standard API are forced to iterate over the sessions semi-linearly as
44 final Map<HostAndPort, SSLSession> sessions field in class:ClientSessionContext
49 // Called while lock is held on sessions.
60 * access by holding a lock on sessions.
81 synchronized (sessions) {
82 SSLSession[] array = sessions.values().toArray(
83 new SSLSession[sessions.size()]);
89 synchronized (sessions) {
90 int size = sessions
[all...]

Completed in 46 milliseconds