Package | Description |
---|---|
com.gemstone.gemfire.cache |
Provides an implementation of distributed object caching that
can leverage GemFire's distribution capabilities.
|
Modifier and Type | Method and Description |
---|---|
RegionFactory<K,V> |
RegionFactory.addAsyncEventQueueId(String asyncEventQueueId)
Adds a asyncEventQueueId to the RegionAttributes
|
RegionFactory<K,V> |
RegionFactory.addCacheListener(CacheListener<K,V> aListener)
Adds a cache listener to the end of the list of cache listeners on this factory.
|
RegionFactory<K,V> |
RegionFactory.addGatewaySenderId(String gatewaySenderId)
Adds a gatewaySenderId to the RegionAttributes
|
<K,V> RegionFactory<K,V> |
Cache.createRegionFactory()
Creates a
RegionFactory which can be used to specify additional
attributes for Region creation. |
<K,V> RegionFactory<K,V> |
Cache.createRegionFactory(RegionAttributes<K,V> regionAttributes)
Creates a
RegionFactory for creating a Region from
the given regionAttributes |
<K,V> RegionFactory<K,V> |
Cache.createRegionFactory(RegionShortcut atts)
|
<K,V> RegionFactory<K,V> |
Cache.createRegionFactory(String regionAttributesId)
Creates a
RegionFactory for creating a Region from
RegionAttributes mapped to this regionAttributesId |
RegionFactory<K,V> |
RegionFactory.initCacheListeners(CacheListener<K,V>[] newListeners)
Removes all cache listeners and then adds each listener in the specified array.
|
RegionFactory<K,V> |
RegionFactory.setCacheLoader(CacheLoader<K,V> cacheLoader)
Sets the cache loader for the next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setCacheWriter(CacheWriter<K,V> cacheWriter)
Sets the cache writer for the next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setCloningEnabled(boolean cloningEnable)
Sets cloning on region
|
RegionFactory<K,V> |
RegionFactory.setCompressor(Compressor compressor)
Set the compressor to be used by this region for compressing
region entry values.
|
RegionFactory<K,V> |
RegionFactory.setConcurrencyChecksEnabled(boolean enabled)
Enables a versioning system that detects concurrent modifications and
ensures that region contents are consistent across the distributed
system.
|
RegionFactory<K,V> |
RegionFactory.setConcurrencyLevel(int concurrencyLevel)
Sets the concurrency level tof the next
RegionAttributes
created. |
RegionFactory<K,V> |
RegionFactory.setCustomEntryIdleTimeout(CustomExpiry<K,V> custom)
Sets the custom idleTimeout for the next
RegionAttributes
created. |
RegionFactory<K,V> |
RegionFactory.setCustomEntryTimeToLive(CustomExpiry<K,V> custom)
Sets the custom timeToLive expiration method for the next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setDataPolicy(DataPolicy dataPolicy)
Sets the data policy for the next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setDiskDirs(File[] diskDirs)
Deprecated.
as of 6.5 use
DiskStoreFactory.setDiskDirs(java.io.File[]) instead |
RegionFactory<K,V> |
RegionFactory.setDiskDirsAndSizes(File[] diskDirs,
int[] diskSizes)
Deprecated.
as of 6.5 use
DiskStoreFactory.setDiskDirsAndSizes(java.io.File[], int[]) instead |
RegionFactory<K,V> |
RegionFactory.setDiskStoreName(String name)
Sets the DiskStore name attribute.
|
RegionFactory<K,V> |
RegionFactory.setDiskSynchronous(boolean isSynchronous)
Sets whether or not the writing to the disk is synchronous.
|
RegionFactory<K,V> |
RegionFactory.setDiskWriteAttributes(DiskWriteAttributes attrs)
Deprecated.
as of 6.5 use
setDiskStoreName(java.lang.String) instead |
RegionFactory<K,V> |
RegionFactory.setEarlyAck(boolean earlyAck)
Deprecated.
As of 6.5 this setting no longer has any effect.
|
RegionFactory<K,V> |
RegionFactory.setEnableAsyncConflation(boolean value)
Sets whether or not conflation is enabled for sending messages
to async peers.
|
RegionFactory<K,V> |
RegionFactory.setEnableGateway(boolean value)
Deprecated.
|
RegionFactory<K,V> |
RegionFactory.setEnableSubscriptionConflation(boolean value)
Sets whether or not conflation is enabled for sending messages
from a cache server to its clients.
|
RegionFactory<K,V> |
RegionFactory.setEntryIdleTimeout(ExpirationAttributes idleTimeout)
Sets the idleTimeout expiration attributes for region entries for the next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setEntryTimeToLive(ExpirationAttributes timeToLive)
Sets the timeToLive expiration attributes for region entries for the next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setEvictionAttributes(EvictionAttributes evictionAttributes)
Sets the eviction attributes that controls growth of the Region to be created.
|
RegionFactory<K,V> |
RegionFactory.setGatewayHubId(String id)
Deprecated.
|
RegionFactory<K,V> |
RegionFactory.setIgnoreJTA(boolean flag)
Sets whether operations on this region should be controlled by
JTA transactions or not
|
RegionFactory<K,V> |
RegionFactory.setIndexMaintenanceSynchronous(boolean synchronous)
Sets how indexes on this region are kept current.
|
RegionFactory<K,V> |
RegionFactory.setInitialCapacity(int initialCapacity)
Sets the entry initial capacity for the next
RegionAttributes
created. |
RegionFactory<K,V> |
RegionFactory.setKeyConstraint(Class<K> keyConstraint)
Sets the key constraint for the next
RegionAttributes
created. |
RegionFactory<K,V> |
RegionFactory.setLoadFactor(float loadFactor)
Sets the entry load factor for the next
RegionAttributes
created. |
RegionFactory<K,V> |
RegionFactory.setLockGrantor(boolean isLockGrantor)
Sets whether this region should become lock grantor.
|
RegionFactory<K,V> |
RegionFactory.setMembershipAttributes(MembershipAttributes ra)
Sets the
MembershipAttributes that describe the membership
roles required for reliable access to the region. |
RegionFactory<K,V> |
RegionFactory.setMulticastEnabled(boolean value)
Sets whether distributed operations on this region should attempt to use multicast.
|
RegionFactory<K,V> |
RegionFactory.setPartitionAttributes(PartitionAttributes partition)
Sets the
PartitionAttributes that describe how the region is
partitioned among members of the distributed system. |
RegionFactory<K,V> |
RegionFactory.setPoolName(String poolName)
Sets the pool name attribute.
|
RegionFactory<K,V> |
RegionFactory.setRegionIdleTimeout(ExpirationAttributes idleTimeout)
Sets the idleTimeout expiration attributes for the region itself for the
next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setRegionTimeToLive(ExpirationAttributes timeToLive)
Sets the timeToLive expiration attributes for the region itself for the
next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setScope(Scope scopeType)
Sets the scope for the next
RegionAttributes created. |
RegionFactory<K,V> |
RegionFactory.setStatisticsEnabled(boolean statisticsEnabled)
Sets whether statistics are enabled for this region and its entries.
|
RegionFactory<K,V> |
RegionFactory.setSubscriptionAttributes(SubscriptionAttributes sa)
Sets the kind of interest this region has in events occuring in other caches that define
the region by the same name.
|
RegionFactory<K,V> |
RegionFactory.setValueConstraint(Class<V> valueConstraint)
Sets the value constraint for the next
RegionAttributes
created. |
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.