Searched refs:cacheSize (Results 1 - 25 of 47) sorted by relevance

12

/forgerock/openam-v13/openam-radius/openam-radius-server/src/test/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/
H A DContextHolderCacheTest.java38 final ContextCacheSize cacheSize = mock(ContextCacheSize.class);
39 when(cacheSize.getDesiredCacheSize()).thenReturn(5);
40 final ContextHolderCache cache = new ContextHolderCache(cacheSize);
56 final ContextCacheSize cacheSize = mock(ContextCacheSize.class);
57 when(cacheSize.getDesiredCacheSize()).thenReturn(5);
58 final ContextHolderCache cache = new ContextHolderCache(cacheSize);
75 final ContextCacheSize cacheSize = mock(ContextCacheSize.class);
76 when(cacheSize.getDesiredCacheSize()).thenReturn(5);
77 final ContextHolderCache cache = new ContextHolderCache(cacheSize);
97 final ContextCacheSize cacheSize
[all...]
/forgerock/openam/openam-radius/openam-radius-server/src/test/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/
H A DContextHolderCacheTest.java38 final ContextCacheSize cacheSize = mock(ContextCacheSize.class);
39 when(cacheSize.getDesiredCacheSize()).thenReturn(5);
40 final ContextHolderCache cache = new ContextHolderCache(cacheSize);
56 final ContextCacheSize cacheSize = mock(ContextCacheSize.class);
57 when(cacheSize.getDesiredCacheSize()).thenReturn(5);
58 final ContextHolderCache cache = new ContextHolderCache(cacheSize);
75 final ContextCacheSize cacheSize = mock(ContextCacheSize.class);
76 when(cacheSize.getDesiredCacheSize()).thenReturn(5);
77 final ContextHolderCache cache = new ContextHolderCache(cacheSize);
97 final ContextCacheSize cacheSize
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idm/common/
H A DIdCacheStats.java43 int cacheSize = 0; // number of entries in cache field in class:IdCacheStats
74 cacheSize = sizeOfCache;
82 cacheSize = sizeOfCache;
90 cacheSize = sizeOfCache;
98 cacheSize = sizeOfCache;
125 + "\nTotal Cache Size: " + cacheSize + "\n");
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idm/common/
H A DIdCacheStats.java43 int cacheSize = 0; // number of entries in cache field in class:IdCacheStats
74 cacheSize = sizeOfCache;
82 cacheSize = sizeOfCache;
90 cacheSize = sizeOfCache;
98 cacheSize = sizeOfCache;
125 + "\nTotal Cache Size: " + cacheSize + "\n");
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/sdk/common/
H A DCacheStats.java43 int cacheSize = 0; field in class:CacheStats
98 cacheSize = sizeOfCache;
108 cacheSize = sizeOfCache;
129 + "\nTotal Cache Size: " + cacheSize + "\n");
/forgerock/openam/openam-core/src/main/java/com/iplanet/am/sdk/common/
H A DCacheStats.java43 int cacheSize = 0; field in class:CacheStats
98 cacheSize = sizeOfCache;
108 cacheSize = sizeOfCache;
129 + "\nTotal Cache Size: " + cacheSize + "\n");
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/blacklist/
H A DConfigurableSessionBlacklist.java84 final int cacheSize = sessionServiceConfig.getSessionBlacklistCacheSize();
88 if (cacheSize > 0) {
89 blacklist = new CachingBlacklist<>(blacklist, cacheSize, purgeDelayMs);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/
H A DSubjectEvaluationCache.java199 int cacheSize = 0;
201 cacheSize = subjectEvaluationCache.size();
204 + " cache : " + cacheSize);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/
H A DSubjectEvaluationCache.java198 int cacheSize = 0;
200 cacheSize = subjectEvaluationCache.size();
203 + " cache : " + cacheSize);
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/filter/
H A DNotenforcedIPTaskHandler.java74 int cacheSize = getConfigurationInt(CONFIG_NOTENFORCED_IP_CACHE_SIZE,
85 cacheEnabled, cacheSize, isInverted, entries));
H A DNotenforcedListTaskHandler.java82 int cacheSize = getConfigurationInt(
91 isInverted, cacheEnabled, cacheSize, notenforcedURIs));
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/
H A DEntryCacheCommon.java367 * @param cacheSize size of the current cache, in bytes.
377 Long cacheSize,
404 if (cacheSize != null)
406 attrs.add(Attributes.create("currentEntryCacheSize", cacheSize
374 getGenericMonitorData( Long cacheHits, Long cacheMisses, Long cacheSize, Long maxCacheSize, Long cacheCount, Long maxCacheCount) argument
/forgerock/opendj2/src/server/org/opends/server/extensions/
H A DEntryCacheCommon.java366 * @param cacheSize size of the current cache, in bytes.
376 Long cacheSize,
403 if (cacheSize != null)
405 attrs.add(Attributes.create("currentEntryCacheSize", cacheSize
373 getGenericMonitorData( Long cacheHits, Long cacheMisses, Long cacheSize, Long maxCacheSize, Long cacheCount, Long maxCacheCount) argument
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/
H A DEntryCacheCommon.java367 * @param cacheSize size of the current cache, in bytes.
377 Long cacheSize,
404 if (cacheSize != null)
406 attrs.add(Attributes.create("currentEntryCacheSize", cacheSize
374 getGenericMonitorData( Long cacheHits, Long cacheMisses, Long cacheSize, Long maxCacheSize, Long cacheCount, Long maxCacheCount) argument
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/
H A DEntryCacheCommon.java367 * @param cacheSize size of the current cache, in bytes.
377 Long cacheSize,
404 if (cacheSize != null)
406 attrs.add(Attributes.create("currentEntryCacheSize", cacheSize
374 getGenericMonitorData( Long cacheHits, Long cacheMisses, Long cacheSize, Long maxCacheSize, Long cacheCount, Long maxCacheCount) argument
/forgerock/opendj2-hg/src/server/org/opends/server/extensions/
H A DEntryCacheCommon.java366 * @param cacheSize size of the current cache, in bytes.
376 Long cacheSize,
403 if (cacheSize != null)
405 attrs.add(Attributes.create("currentEntryCacheSize", cacheSize
373 getGenericMonitorData( Long cacheHits, Long cacheMisses, Long cacheSize, Long maxCacheSize, Long cacheCount, Long maxCacheCount) argument
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/
H A DEntryCacheCommon.java366 * @param cacheSize size of the current cache, in bytes.
376 Long cacheSize,
403 if (cacheSize != null)
405 attrs.add(Attributes.create("currentEntryCacheSize", cacheSize
373 getGenericMonitorData( Long cacheHits, Long cacheMisses, Long cacheSize, Long maxCacheSize, Long cacheCount, Long maxCacheCount) argument
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/jaxrpc/
H A DSMSJAXRPCObjectImpl.java95 static int cacheSize = 30; field in class:SMSJAXRPCObjectImpl
99 static HashMap cache = new HashMap(cacheSize);
131 cacheSize = Integer.parseInt(cacheSizeStr);
132 if (cacheSize < 0) {
133 cacheSize = 30;
140 "EventNotification cache size is set to " + cacheSize);
508 if (cacheIndices.size() > cacheSize) {
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/jaxrpc/
H A DSMSJAXRPCObjectImpl.java97 static int cacheSize = 30; field in class:SMSJAXRPCObjectImpl
101 static HashMap cache = new HashMap(cacheSize);
133 cacheSize = Integer.parseInt(cacheSizeStr);
134 if (cacheSize < 0) {
135 cacheSize = 30;
142 "EventNotification cache size is set to " + cacheSize);
510 if (cacheIndices.size() > cacheSize) {
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idm/server/
H A DIdRepoJAXRPCObjectImpl.java100 protected static int cacheSize = -1; field in class:IdRepoJAXRPCObjectImpl
113 if (cacheSize <= 0) {
117 cacheSize = 30;
120 cacheSize = Integer.parseInt(cacheSizeStr);
121 if (cacheSize < 0) {
122 cacheSize = 30;
125 cacheSize = 30;
130 + cacheSize);
730 if (cacheSize > 0) {
831 if (cacheSize
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idm/server/
H A DIdRepoJAXRPCObjectImpl.java102 protected static int cacheSize = -1; field in class:IdRepoJAXRPCObjectImpl
115 if (cacheSize <= 0) {
119 cacheSize = 30;
122 cacheSize = Integer.parseInt(cacheSizeStr);
123 if (cacheSize < 0) {
124 cacheSize = 30;
127 cacheSize = 30;
132 + cacheSize);
732 if (cacheSize > 0) {
833 if (cacheSize
[all...]
/forgerock/opendj2/src/server/org/opends/server/backends/jeb/importLDIF/
H A DIndexInputBuffer.java92 * @param cacheSize
98 long begin, long end, int id, int cacheSize) throws IOException
106 this.cache = ByteBuffer.allocate(Math.max(cacheSize - 384, 256));
97 IndexInputBuffer(IndexManager indexMgr, FileChannel channel, long begin, long end, int id, int cacheSize) argument
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/jeb/importLDIF/
H A DIndexInputBuffer.java93 * @param cacheSize
99 long begin, long end, int id, int cacheSize) throws IOException
107 this.cache = ByteBuffer.allocate(Math.max(cacheSize - 384, 256));
98 IndexInputBuffer(IndexManager indexMgr, FileChannel channel, long begin, long end, int id, int cacheSize) argument
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/jeb/importLDIF/
H A DIndexInputBuffer.java93 * @param cacheSize
99 long begin, long end, int id, int cacheSize) throws IOException
107 this.cache = ByteBuffer.allocate(Math.max(cacheSize - 384, 256));
98 IndexInputBuffer(IndexManager indexMgr, FileChannel channel, long begin, long end, int id, int cacheSize) argument
/forgerock/opendj2-hg/src/server/org/opends/server/backends/jeb/importLDIF/
H A DIndexInputBuffer.java92 * @param cacheSize
98 long begin, long end, int id, int cacheSize) throws IOException
106 this.cache = ByteBuffer.allocate(Math.max(cacheSize - 384, 256));
97 IndexInputBuffer(IndexManager indexMgr, FileChannel channel, long begin, long end, int id, int cacheSize) argument

Completed in 6565 milliseconds

12