GemStone::GemFire::Cache Namespace Reference


Detailed Description

This namespace contains all the GemFire .NET API classes and enumerations.


Data Structures

class  AllConnectionsInUseException
class  AlreadyConnectedException
class  AssertionException
class  AttributesFactory
class  AttributesMutator
class  AuthenticationFailedException
class  AuthenticationRequiredException
class  BooleanArray
class  BufferSizeExceededException
class  Cache
class  CacheableArrayList
class  CacheableBoolean
class  CacheableByte
class  CacheableBytes
class  CacheableCharacter
class  CacheableDate
class  CacheableDouble
class  CacheableDoubleArray
class  CacheableFileName
class  CacheableFloat
class  CacheableFloatArray
class  CacheableHashMap
class  CacheableHashSet
class  CacheableHashTable
class  CacheableIdentityHashMap
class  CacheableInt16
class  CacheableInt16Array
class  CacheableInt32
class  CacheableInt32Array
class  CacheableInt64
class  CacheableInt64Array
class  CacheableKey
class  CacheableLinkedHashSet
class  CacheableObject
class  CacheableObjectArray
class  CacheableObjectXml
class  CacheableStack
class  CacheableString
class  CacheableStringArray
class  CacheableUndefined
class  CacheableVector
class  CacheAttributes
class  CacheAttributesFactory
class  CacheClosedException
class  CacheExistsException
class  CacheFactory
class  CacheListenerAdapter
class  CacheListenerException
class  CacheLoader
class  CacheLoaderException
class  CacheProxyException
class  CacheServerException
class  CacheStatistics
class  CacheWriterAdapter
class  CacheWriterException
class  CacheXmlException
class  CharArray
class  ClassCastException
class  CommitConflictException
class  ConcurrentModificationException
class  CqAttributes
class  CqAttributesFactory
class  CqAttributesMutator
class  CqClosedException
class  CqEvent
class  CqException
class  CqExistsException
class  CqInvalidException
class  CqListener
class  CqQuery
class  CqQueryException
class  CqServiceStatistics
class  CqState
class  CqStatistics
class  DataInput
class  DataOutput
class  DiskCorruptException
class  DiskFailureException
class  DiskPolicy
class  DistributedSystem
class  DuplicateDurableClientException
class  EntryDestroyedException
class  EntryEvent
class  EntryExistsException
class  EntryNotFoundException
class  Execution
class  Expiration
class  FatalInternalException
class  FileNotFoundException
class  FunctionExecutionException
class  FunctionService
class  GemFireClassIds
class  GemFireConfigException
class  GemFireException
class  GemFireIOException
interface  IAuthInitialize
interface  ICacheableKey
interface  ICacheListener
interface  ICacheLoader
interface  ICacheWriter
interface  ICqEvent
interface  ICqListener
interface  ICqResults
interface  ICqStatusListener
interface  IFixedPartitionResolver
 Implementers of interface FixedPartitionResolver helps to achieve explicit mapping of a "user defined" partition to a data member node. More...
interface  IGemFireCache
interface  IGFDelta
interface  IGFSerializable
class  IllegalArgumentException
class  IllegalStateException
class  InitFailedException
class  InterruptedException
interface  IPartitionResolver
 Implementers of interface PartitionResolver enable custom partitioning on the PartitionedRegion. More...
interface  IRegionService
interface  IResultCollector
interface  ISelectResults
class  KeyNotFoundException
class  LeaseExpiredException
class  Log
class  MessageException
class  NoAvailableLocatorsException
class  NoSystemException
class  NotAuthorizedException
class  NotConnectedException
class  NotOwnerException
class  NullPointerException
class  OutOfMemoryException
class  OutOfRangeException
class  Pool
class  PoolFactory
class  PoolManager
class  Properties
class  Query
class  QueryException
class  QueryService
class  Region
class  RegionAttributes
class  RegionCreationFailedException
class  RegionDestroyedException
class  RegionEntry
class  RegionEvent
class  RegionExistsException
class  RegionFactory
class  ResultCollector
class  ResultSet
class  Scope
class  SelectResultsIterator
class  Serializable
class  ShutdownFailedException
class  StatisticDescriptor
class  Statistics
class  StatisticsDisabledException
class  StatisticsFactory
class  StatisticsType
class  Struct
class  StructSet
class  SystemProperties
class  TimeoutException
class  TransactionDataNodeHasDepartedException
class  TransactionDataRebalancedException
class  UnknownException
class  UnsupportedOperationException
class  UserFunctionExecutionException
class  WrongRegionScopeException

Namespaces

namespace  Generic
 This namespace contains all the GemFire .NET Generics API classes and enumerations.
namespace  Internal
 This namespace contains internal GemFire non-public .NET classes.
namespace  Template
 This namespace contains internal GemFire .NET template classes.

Enumerations

enum  CqOperationType
enum  CqStateType
enum  DiskPolicyType { None = 0, Overflows }
enum  ExpirationAction {
  Invalidate = 0, LocalInvalidate, Destroy, LocalDestroy,
  InvalidAction
}
enum  LogLevel {
  Null = 0, Error, Warning, Info,
  Default, Config, Fine, Finer,
  Finest, Debug, All
}
enum  RegionShortcut {
  PROXY, CACHING_PROXY, CACHING_PROXY_ENTRY_LRU, LOCAL,
  LOCAL_ENTRY_LRU
}
enum  ScopeType {
  Local = 0, DistributedNoAck, DistributedAck, Global,
  Invalid
}

Functions

delegate
GemFireException
CreateException (const gemfire::Exception &nativeEx, System::Exception^ innerException)
public delegate void PropertyVisitor (GemStone::GemFire::Cache::ICacheableKey^ key, IGFSerializable^ value)
public delegate
GemStone::GemFire::Cache::IGFSerializable
TypeFactoryMethod ()
delegate
gemfire::Serializable * 
TypeFactoryNativeMethod ()
delegate
GemStone::GemFire::Cache::IGFSerializable
WrapperDelegate (gemfire::Serializable *obj)


Enumeration Type Documentation

enum GemStone::GemFire::Cache::CqOperationType

Enumerated type for CqOperationType

enum GemStone::GemFire::Cache::CqStateType

Enumerated type for cq state

For Native Clients:

enum GemStone::GemFire::Cache::DiskPolicyType

Enumerated type for disk policy. Contains values for setting the disk policy type.

Enumerator:
None  No policy.
Overflows  Overflow to disk.

enum GemStone::GemFire::Cache::ExpirationAction

Enumerated type for expiration (LRU) actions. Contains values for setting an action type.

Enumerator:
Invalidate  When the region or cached object expires, it is invalidated.
LocalInvalidate  When expired, invalidated locally only.
Destroy  When the region or cached object expires, it is destroyed.
LocalDestroy  When expired, destroyed locally only.
InvalidAction  Invalid action type.

enum GemStone::GemFire::Cache::LogLevel

Logging levels.

Enumerator:
Null  No log.
Error  Indicates serious failure.
Warning  Indicates potential problem.
Info  For informational purpose.
Default  The default logging level.
Config  For Static configuration messages.
Fine  For tracing information.
Finer  For moderately detailed tracing information.
Finest  For very detailed tracing information.
Debug  For highly detailed tracing information.
All  All the log messages.

enum GemStone::GemFire::Cache::RegionShortcut

Each enum represents a predefined RegionAttributes in a Cache. These enum values can be used to create regions using a RegionFactory obtained by calling <see cref="Cache.CreateRegionFactory(RegionShortcut) />.

Another way to use predefined region attributes is in cache.xml by setting the refid attribute on a region element or region-attributes element to the string of each value.

Enumerator:
PROXY  A PROXY region has no local state and forwards all operations to a server.
CACHING_PROXY  A CACHING_PROXY region has local state but can also send operations to a server. If the local state is not found then the operation is sent to the server and the local state is updated to contain the server result.
CACHING_PROXY_ENTRY_LRU  A CACHING_PROXY_ENTRY_LRU region has local state but can also send operations to a server. If the local state is not found then the operation is sent to the server and the local state is updated to contain the server result. It will also destroy entries once it detects that the number of enteries crossing default limit of #100000.
LOCAL  A LOCAL region only has local state and never sends operations to a server.
LOCAL_ENTRY_LRU  A LOCAL_ENTRY_LRU region only has local state and never sends operations to a server. It will also destroy entries once it detects once it detects that the number of enteries crossing default limit of #100000.

enum GemStone::GemFire::Cache::ScopeType

Enumerated type for region distribution scope. Contains values for setting Scope. Local scope is invalid (it is a non-native client local region), and DistributedAck and DistributedNoAck have the same behavior.

Enumerator:
Local  No distribution.
DistributedNoAck  Distribute without waiting for acknowledgement.
DistributedAck  Distribute and wait for all peers to acknowledge.
Global  Distribute with full interprocess synchronization -- NOT IMPLEMENTED.
Invalid  Invalid scope.


Function Documentation

delegate GemFireException ^ GemStone::GemFire::Cache::CreateException ( const gemfire::Exception &  nativeEx,
System::Exception^   innerException 
)

Factory delegate to create a managed GemFire exception.

For each managed exception class, its factory delegate is registered and maintained in a static dictionary mapped to its corresponding native GemFire C++ exception name.

public delegate void GemStone::GemFire::Cache::PropertyVisitor ( GemStone::GemFire::Cache::ICacheableKey^   key,
IGFSerializable^   value 
)

Delegate that represents visitor for the Properties class.

This delegate is passed to the Properties.ForEach function that invokes this delegate for each property having a key and a value.

Parameters:
key The key of the property.
value The value of the property.

public delegate GemStone::GemFire::Cache::IGFSerializable ^ GemStone::GemFire::Cache::TypeFactoryMethod (  ) 

Signature of function delegates passed to Serializable.RegisterType. Such functions should return an empty instance of the type they represent. The delegate shall be stored in the internal DelegateWrapper class and an instance will be initialized in the DelegateWrapper.NativeDelegate method by a call to IGFSerializable.FromData.

delegate gemfire::Serializable* GemStone::GemFire::Cache::TypeFactoryNativeMethod (  ) 

Signature of native function delegates passed to native gemfire::Serializable::registerType. Such functions should return an empty instance of the type they represent. The instance will typically be initialized immediately after creation by a call to native gemfire::Serializable::fromData.

delegate GemStone::GemFire::Cache::IGFSerializable ^ GemStone::GemFire::Cache::WrapperDelegate ( gemfire::Serializable *  obj  ) 

Delegate to wrap a native gemfire::Serializable type.

This delegate should return an object of type IGFSerializable given a native object.


GemFire C++ Cache .NET API Documentation