Home
last modified time | relevance | path

Searched refs:sessionCache (Results 1 – 25 of 142) sorted by relevance

123456

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/storage/wiredtiger/
H A Dwiredtiger_session_cache_test.cpp97 WiredTigerSessionCache* sessionCache = harnessHelper.getSessionCache(); in TEST() local
98 ASSERT_EQUALS(sessionCache->getIdleSessionsCount(), 0U); in TEST()
100 UniqueWiredTigerSession _session = sessionCache->getSession(); in TEST()
101 ASSERT_EQUALS(sessionCache->getIdleSessionsCount(), 0U); in TEST()
104 ASSERT_EQUALS(sessionCache->getIdleSessionsCount(), 1U); in TEST()
107 sessionCache->closeExpiredIdleSessions(0); in TEST()
108 ASSERT_EQUALS(sessionCache->getIdleSessionsCount(), 1U); in TEST()
112 sessionCache->closeExpiredIdleSessions(10000); in TEST()
113 ASSERT_EQUALS(sessionCache->getIdleSessionsCount(), 1U); in TEST()
115 sessionCache->closeExpiredIdleSessions(2); in TEST()
[all …]
H A Dwiredtiger_oplog_manager.cpp60 auto sessionCache = WiredTigerRecoveryUnit::get(opCtx)->getSessionCache(); in start() local
61 setOplogReadTimestamp(Timestamp(fetchAllCommittedValue(sessionCache->conn()))); in start()
81 sessionCache, in start()
164 void WiredTigerOplogManager::_oplogJournalThreadLoop(WiredTigerSessionCache* sessionCache, in _oplogJournalThreadLoop() argument
223 const uint64_t newTimestamp = fetchAllCommittedValue(sessionCache->conn()); in _oplogJournalThreadLoop()
235 sessionCache->waitUntilDurable(/*forceCheckpoint=*/false, false); in _oplogJournalThreadLoop()
249 sessionCache->getKVEngine()->advanceOldestTimestamp(Timestamp(newTimestamp)); in _oplogJournalThreadLoop()
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/internal/objectstore/
H A Ds3_session.go47 sessionCache = newS3SessionCache() var
55 sessionCache.Lock()
56 defer sessionCache.Unlock()
58 if s, ok := sessionCache.sessions[s3Config]; ok && !s.isExpired() {
81 sessionCache.sessions[s3Config] = &s3Session{
90 sessionCache.Lock()
91 defer sessionCache.Unlock()
93 delete(sessionCache.sessions, s3Config)
H A Ds3_session_test.go23 require.Equal(t, len(sessionCache.sessions), 1)
27 require.Equal(t, len(sessionCache.sessions), 1)
42 firstSession, ok := sessionCache.sessions[cfg]
52 nextSession, ok := sessionCache.sessions[cfg]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java42 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
55 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
68 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
82 sessionCache.accept(scVisitor); in getIds()
102 sessionCache.setTimeout(seconds); in setSessionTimeout()
127 sessionCache.setCapacity(size); in setSessionCacheSize()
151 return sessionCache.pull(new SessionId(id)); in pull()
188 sessionCache.put(s.getSessionId(), s); in put()
201 SSLSessionImpl s = sessionCache.get(key); in remove()
203 sessionCache.remove(key); in remove()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java42 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
55 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
68 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
82 sessionCache.accept(scVisitor); in getIds()
102 sessionCache.setTimeout(seconds); in setSessionTimeout()
127 sessionCache.setCapacity(size); in setSessionCacheSize()
151 return sessionCache.pull(new SessionId(id)); in pull()
188 sessionCache.put(s.getSessionId(), s); in put()
201 SSLSessionImpl s = sessionCache.get(key); in remove()
203 sessionCache.remove(key); in remove()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java43 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
56 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
69 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
83 sessionCache.accept(scVisitor); in getIds()
103 sessionCache.setTimeout(seconds); in setSessionTimeout()
128 sessionCache.setCapacity(size); in setSessionCacheSize()
152 return sessionCache.pull(new SessionId(id)); in pull()
189 sessionCache.put(s.getSessionId(), s); in put()
202 SSLSessionImpl s = sessionCache.get(key); in remove()
204 sessionCache.remove(key); in remove()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java43 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
56 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
69 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
83 sessionCache.accept(scVisitor); in getIds()
103 sessionCache.setTimeout(seconds); in setSessionTimeout()
128 sessionCache.setCapacity(size); in setSessionCacheSize()
152 return sessionCache.pull(new SessionId(id)); in pull()
189 sessionCache.put(s.getSessionId(), s); in put()
202 SSLSessionImpl s = sessionCache.get(key); in remove()
204 sessionCache.remove(key); in remove()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java42 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
55 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
68 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
82 sessionCache.accept(scVisitor); in getIds()
102 sessionCache.setTimeout(seconds); in setSessionTimeout()
127 sessionCache.setCapacity(size); in setSessionCacheSize()
179 sessionCache.put(s.getSessionId(), s); in put()
192 SSLSessionImpl s = sessionCache.get(key); in remove()
194 sessionCache.remove(key); in remove()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java65 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
81 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
99 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
113 sessionCache.accept(scVisitor); in getIds()
133 sessionCache.setTimeout(seconds); in setSessionTimeout()
158 sessionCache.setCapacity(size); in setSessionCacheSize()
182 return sessionCache.pull(new SessionId(id)); in pull()
218 sessionCache.put(s.getSessionId(), s); in put()
231 SSLSessionImpl s = sessionCache.get(key); in remove()
233 sessionCache.remove(key); in remove()
H A DNewSessionTicket.java350 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
372 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
422 sessionCache.put(sessionCopy); in produce()
466 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
468 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
527 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
538 sessionCache.remove(hc.handshakeSession.getSessionId()); in consume()
542 if (sessionCache.getSessionTimeout() > MAX_TICKET_LIFETIME) { in consume()
581 sessionCache.put(sessionCopy); in consume()
624 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java65 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
81 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
99 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
113 sessionCache.accept(scVisitor); in getIds()
133 sessionCache.setTimeout(seconds); in setSessionTimeout()
158 sessionCache.setCapacity(size); in setSessionCacheSize()
182 return sessionCache.pull(new SessionId(id)); in pull()
218 sessionCache.put(s.getSessionId(), s); in put()
231 SSLSessionImpl s = sessionCache.get(key); in remove()
233 sessionCache.remove(key); in remove()
H A DNewSessionTicket.java377 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
401 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
456 sessionCache.put(sessionCopy); in produce()
509 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
511 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
571 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
582 sessionCache.remove(hc.handshakeSession.getSessionId()); in consume()
586 if (sessionCache.getSessionTimeout() > MAX_TICKET_LIFETIME) { in consume()
623 sessionCache.put(sessionCopy); in consume()
664 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java65 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
81 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
99 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
113 sessionCache.accept(scVisitor); in getIds()
133 sessionCache.setTimeout(seconds); in setSessionTimeout()
158 sessionCache.setCapacity(size); in setSessionCacheSize()
182 return sessionCache.pull(new SessionId(id)); in pull()
218 sessionCache.put(s.getSessionId(), s); in put()
231 SSLSessionImpl s = sessionCache.get(key); in remove()
233 sessionCache.remove(key); in remove()
H A DNewSessionTicket.java377 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
401 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
456 sessionCache.put(sessionCopy); in produce()
509 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
511 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
571 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
582 sessionCache.remove(hc.handshakeSession.getSessionId()); in consume()
586 if (sessionCache.getSessionTimeout() > MAX_TICKET_LIFETIME) { in consume()
623 sessionCache.put(sessionCopy); in consume()
664 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java65 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
81 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
99 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
113 sessionCache.accept(scVisitor); in getIds()
133 sessionCache.setTimeout(seconds); in setSessionTimeout()
158 sessionCache.setCapacity(size); in setSessionCacheSize()
182 return sessionCache.pull(new SessionId(id)); in pull()
218 sessionCache.put(s.getSessionId(), s); in put()
231 SSLSessionImpl s = sessionCache.get(key); in remove()
233 sessionCache.remove(key); in remove()
H A DNewSessionTicket.java377 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
401 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
456 sessionCache.put(sessionCopy); in produce()
509 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
511 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
571 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
582 sessionCache.remove(hc.handshakeSession.getSessionId()); in consume()
586 if (sessionCache.getSessionTimeout() > MAX_TICKET_LIFETIME) { in consume()
623 sessionCache.put(sessionCopy); in consume()
664 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/tlslite/patches/
H A Dtls_intolerant.patch6 sessionCache=None, settings=None, checker=None,
28 certChain, privateKey, reqCert, sessionCache, settings,
37 sessionCache=None, settings=None, checker=None,
47 sessionCache=sessionCache, settings=settings,
57 certChain, privateKey, reqCert, sessionCache,
69 verifierDB, sessionCache,
79 - sessionCache, anon):
80 + sessionCache, anon, tlsIntolerant):
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tlslite/patches/
H A Dtls_intolerant.patch6 sessionCache=None, settings=None, checker=None,
28 certChain, privateKey, reqCert, sessionCache, settings,
37 sessionCache=None, settings=None, checker=None,
47 sessionCache=sessionCache, settings=settings,
57 certChain, privateKey, reqCert, sessionCache,
69 verifierDB, sessionCache,
79 - sessionCache, anon):
80 + sessionCache, anon, tlsIntolerant):
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java65 private final Cache<SessionId, SSLSessionImpl> sessionCache; field in SSLSessionContextImpl
81 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); in SSLSessionContextImpl()
99 SSLSessionImpl sess = sessionCache.get(new SessionId(sessionId)); in getSession()
113 sessionCache.accept(scVisitor); in getIds()
133 sessionCache.setTimeout(seconds); in setSessionTimeout()
158 sessionCache.setCapacity(size); in setSessionCacheSize()
209 sessionCache.put(s.getSessionId(), s); in put()
222 SSLSessionImpl s = sessionCache.get(key); in remove()
224 sessionCache.remove(key); in remove()
H A DNewSessionTicket.java350 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
372 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
422 sessionCache.put(sessionCopy); in produce()
466 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in produce() local
468 int sessionTimeoutSeconds = sessionCache.getSessionTimeout(); in produce()
527 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
538 sessionCache.remove(hc.handshakeSession.getSessionId()); in consume()
542 if (sessionCache.getSessionTimeout() > MAX_TICKET_LIFETIME) { in consume()
581 sessionCache.put(sessionCopy); in consume()
624 SSLSessionContextImpl sessionCache = (SSLSessionContextImpl) in consume() local
[all …]
/dports/net/wangle/wangle-2021.12.27.00/wangle/ssl/
H A DSSLSessionCacheManager.cpp55 : sessionCache(maxCacheSize, cacheCullSize) { in LocalSSLSessionCache()
56 sessionCache.setPruneHook(std::bind( in LocalSSLSessionCache()
98 auto itr = caches_[bucket]->sessionCache.find(sessionId); in lookupSession()
99 if (itr != caches_[bucket]->sessionCache.end()) { in lookupSession()
117 auto itr = caches_[bucket]->sessionCache.find(sessionId); in storeSession()
118 if (itr != caches_[bucket]->sessionCache.end()) { in storeSession()
128 caches_[bucket]->sessionCache.set(sessionId, session, true); in storeSession()
138 auto itr = caches_[bucket]->sessionCache.find(sessionId); in removeSession()
139 if (itr == caches_[bucket]->sessionCache.end()) { in removeSession()
146 caches_[bucket]->sessionCache.erase(sessionId); in removeSession()
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/
H A Dgeoip.go96 sessionCache *cache.Cache member
115 sessionCache: cache.New(GEOIP_SESSION_CACHE_TTL, 1*time.Minute),
273 geoIP.sessionCache.Set(sessionID, geoIPData, cache.NoExpiration)
281 geoIPData, found := geoIP.sessionCache.Get(sessionID)
286 geoIP.sessionCache.Set(sessionID, geoIPData, cache.DefaultExpiration)
294 geoIPData, found := geoIP.sessionCache.Get(sessionID)
304 _, found := geoIP.sessionCache.Get(sessionID)
/dports/www/mattermost-server/mattermost-server-6.0.2/services/users/
H A Dservice.go22 sessionCache cache.Cache member
53 sessionCache, err := cacheProvider.NewCache(&cache.CacheOptions{
70 sessionCache: sessionCache,
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/
H A Dgeoip.go97 sessionCache *cache.Cache member
116 sessionCache: cache.New(GEOIP_SESSION_CACHE_TTL, 1*time.Minute),
294 geoIP.sessionCache.Set(sessionID, geoIPData, cache.NoExpiration)
302 geoIPData, found := geoIP.sessionCache.Get(sessionID)
307 geoIP.sessionCache.Set(sessionID, geoIPData, cache.DefaultExpiration)
315 geoIPData, found := geoIP.sessionCache.Get(sessionID)
325 _, found := geoIP.sessionCache.Get(sessionID)

123456