Home
last modified time | relevance | path

Searched refs:sessions (Results 1 – 25 of 116) sorted by relevance

12345

/external/jetty/src/java/org/eclipse/jetty/server/session/
DHashSessionIdManager.java71 ArrayList<HttpSession> sessions = new ArrayList<HttpSession>(); in getSession() local
79 sessions.add(session); in getSession()
82 return sessions; in getSession()
154 Set<WeakReference<HttpSession>> sessions = _sessions.get(id); in addSession() local
155 if (sessions==null) in addSession()
157 sessions=new HashSet<WeakReference<HttpSession>>(); in addSession()
158 _sessions.put(id,sessions); in addSession()
160 sessions.add(ref); in addSession()
174 Collection<WeakReference<HttpSession>> sessions = _sessions.get(id); in removeSession() local
175 if (sessions!=null) in removeSession()
[all …]
DHashSessionManager.java160 int sessions=super.getSessions(); in getSessions() local
163 if (_sessions.size()!=sessions) in getSessions()
164 __log.warn("sessions: "+_sessions.size()+"!="+sessions); in getSessions()
166 return sessions; in getSessions()
373 Map<String,HashedSession> sessions=_sessions; in getSession() local
374 if (sessions==null) in getSession()
377 HashedSession session = sessions.get(idInCluster); in getSession()
395 ArrayList<HashedSession> sessions=new ArrayList<HashedSession>(_sessions.values()); in invalidateSessions() local
397 while (sessions.size()>0 && loop-->0) in invalidateSessions()
403 for (HashedSession session : sessions) in invalidateSessions()
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/
Dextras_sessions_test.py3 from webapp2_extras import sessions
15 factory = sessions.SecureCookieSessionFactory
21 self.assertRaises(Exception, sessions.SessionStore, req)
27 store = sessions.SessionStore(req, config={
42 store = sessions.SessionStore(req)
61 store = sessions.SessionStore(req)
78 store = sessions.SessionStore(req)
94 store = sessions.SessionStore(req)
109 store = sessions.SessionStore(req)
130 store = sessions.SessionStore(req)
[all …]
Dextras_appengine_sessions_memcache_test.py3 from webapp2_extras import sessions
25 store = sessions.SessionStore(req)
44 store = sessions.SessionStore(req)
61 store = sessions.SessionStore(req)
75 store = sessions.SessionStore(req)
90 store = sessions.SessionStore(req)
111 store = sessions.SessionStore(req)
129 store = sessions.SessionStore(req)
Dextras_appengine_sessions_ndb_test.py6 from webapp2_extras import sessions
32 store = sessions.SessionStore(req)
51 store = sessions.SessionStore(req)
68 store = sessions.SessionStore(req)
85 store = sessions.SessionStore(req)
99 store = sessions.SessionStore(req)
114 store = sessions.SessionStore(req)
135 store = sessions.SessionStore(req)
153 store = sessions.SessionStore(req)
/external/conscrypt/src/main/java/org/conscrypt/
DAbstractSessionContext.java55 private final Map<ByteArray, SSLSession> sessions field in AbstractSessionContext
82 synchronized (sessions) { in sessionIterator()
83 SSLSession[] array = sessions.values().toArray( in sessionIterator()
84 new SSLSession[sessions.size()]); in sessionIterator()
137 synchronized (sessions) { in trimToSize()
138 int size = sessions.size(); in trimToSize()
141 Iterator<SSLSession> i = sessions.values().iterator(); in trimToSize()
159 synchronized (sessions) { in setSessionTimeout()
160 Iterator<SSLSession> i = sessions.values().iterator(); in setSessionTimeout()
281 synchronized (sessions) { in getSession()
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/
Dsessions_memcache.py13 from webapp2_extras import sessions
16 class MemcacheSessionFactory(sessions.CustomBackendSessionFactory):
40 return sessions.SessionDict(self, data=data)
43 return sessions.SessionDict(self, new=True)
Dsessions_ndb.py46 from webapp2_extras import sessions
80 class DatastoreSessionFactory(sessions.CustomBackendSessionFactory):
106 return sessions.SessionDict(self, data=data)
109 return sessions.SessionDict(self, new=True)
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/guide/
Dextras.rst14 :ref:`api.webapp2_extras.mako` and :ref:`api.webapp2_extras.sessions`) use configuration
19 for :ref:`api.webapp2_extras.sessions`. Here is an example that sets the ``secret_key``
23 from webapp2_extras import sessions
28 self.session_store = sessions.get_store(request=self.request)
34 # Save all sessions.
52 config['webapp2_extras.sessions'] = {
/external/jetty/src/resources/org/eclipse/jetty/server/session/jmx/
DAbstractSessionManager-mbean.properties11 sessionsTotal: The total number of sessions
14 sessions: Current instantaneous number of sessions key
15 sessionsMax: Maximum number of simultaneous sessions since statsReset() was called
17 sessionTimeTotal: Total amount of time in seconds sessions remained valid since statsReset() was ca…
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/webapp2_extras/
Dsessions.rst1 .. _api.webapp2_extras.sessions:
5 .. module:: webapp2_extras.sessions
12 The session store can provide multiple sessions using different keys,
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
178 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in run()
180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run()
305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
178 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run()
180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run()
305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java119 private Map sessions = new HashMap(); field in AbstractFtpServer
180 sessions.put(session, sessionInfo); in run()
199 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run()
201 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run()
326 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in isShutdown()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
178 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run()
180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run()
305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
/external/conscrypt/src/test/java/org/conscrypt/
DClientSessionContextTest.java98 Set<SSLSession> sessions = new HashSet<SSLSession>(); in assertSessionContextContents() local
102 sessions.add(context.getSession(id)); in assertSessionContextContents()
106 for (SSLSession s : sessions) { in assertSessionContextContents()
109 assertEquals(expected, sessions); in assertSessionContextContents()
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
Dsessions.py310 self.sessions = {}
335 if name not in self.sessions:
336 self.sessions[name] = factory(name, self)
338 return self.sessions[name]
419 for session in self.sessions.values():
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
301 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
333 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
291 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
323 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
306 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
338 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
292 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
324 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
162 sessions.put(session, sessionInfo); in run()
317 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
349 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java99 private Map sessions = new HashMap(); field in AbstractFtpServer
163 sessions.put(session, sessionInfo); in run()
318 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
350 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java99 private Map sessions = new HashMap(); field in AbstractFtpServer
163 sessions.put(session, sessionInfo); in run()
318 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
350 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java99 private Map sessions = new HashMap(); field in AbstractFtpServer
163 sessions.put(session, sessionInfo); in run()
318 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
350 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()

12345