| Package | Description |
|---|---|
| org.glassfish.grizzly.memcached |
| Modifier and Type | Method and Description |
|---|---|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.allowDisposableConnection(boolean allowDisposableConnection)
Allow or disallow disposable connections
Default is false.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.borrowValidation(boolean borrowValidation)
Enable or disable the connection validation when the connection is borrowed from the connection pool
Default is false.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.connectTimeoutInMillis(long connectTimeoutInMillis)
Set global connect-timeout
If the given param is negative, the timeout is infite.
|
<K,V> GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCacheManager.createCacheBuilder(String cacheName)
Creates a new
CacheBuilder for the named cache to be managed by this cache manager. |
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.failover(boolean failover)
Enable or disable failover/failback
Default is true.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.healthMonitorIntervalInSecs(long healthMonitorIntervalInSecs)
Set health monitor's interval
This cache will schedule HealthMonitorTask with this interval.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.keepAliveTimeoutInSecs(long keepAliveTimeoutInSecs)
Set connection pool's KeepAliveTimeout
Default is 1800.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.maxConnectionPerServer(int maxConnectionPerServer)
Set connection pool's max
Default is
Integer.MAX_VALUE |
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.minConnectionPerServer(int minConnectionPerServer)
Set connection pool's min
Default is 5.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.preferRemoteConfig(boolean preferRemoteConfig) |
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.responseTimeoutInMillis(long responseTimeoutInMillis)
Set global response-timeout
If the given param is negative, the timeout is infite.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.retryCount(int retryCount)
Deprecated.
not supported anymore
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.returnValidation(boolean returnValidation)
Enable or disable the connection validation when the connection is returned to the connection pool
Default is false.
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.servers(Set<SocketAddress> servers)
Set initial servers
|
GrizzlyMemcachedCache.Builder<K,V> |
GrizzlyMemcachedCache.Builder.writeTimeoutInMillis(long writeTimeoutInMillis)
Set global write-timeout
If the given param is negative, the timeout is infite.
|
Copyright © 2015 Project Grizzly. All Rights Reserved.