This namespace contains all the GemFire .NET API classes and enumerations.
Syntax
| C# |
|---|
namespace GemStone.GemFire.Cache |
| Visual Basic (Declaration) |
|---|
Namespace GemStone.GemFire.Cache |
| Visual C++ |
|---|
namespace GemStone.GemFire.Cache |
Classes
| Class | Description | |
|---|---|---|
| AlreadyConnectedException |
Thrown when an attempt is made to connect to
DistributedSystem second time.
| |
| ASExcludeAttribute |
Attribute class used by Auto-serializer that indicates that the
marked public field/property should not be auto-serialized.
| |
| ASIncludeAttribute |
Attribute class used by Auto-serializer that indicates that the
marked private field/property should be auto-serialized.
| |
| AssertionException |
A gemfire assertion exception.
| |
| AttributesFactory |
Factory class to create instances of RegionAttributes.
| |
| AttributesMutator |
Supports modification of certain region attributes after the region
has been created.
| |
| AuthenticationFailedException |
Thrown when authentication to the server fails.
| |
| AuthenticationRequiredException |
Thrown when credentials are not provided to a server which expects them.
| |
| BufferSizeExceededException |
Thrown when the internal buffer size is exceeded.
| |
| Cache |
Provides a distributed cache.
| |
| CacheableArrayList |
A mutable IGFSerializable vector wrapper that can serve as
a distributable object for caching. This class extends .NET generic
List class.
| |
| CacheableBoolean |
An immutable wrapper for booleans that can serve
as a distributable key object for caching.
| |
| CacheableByte |
An immutable wrapper for bytes that can serve
as a distributable key object for caching.
| |
| CacheableBytes |
An immutable wrapper for byte arrays that can serve
as a distributable object for caching.
| |
| CacheableCharacter |
An immutable wrapper for 16-bit characters that can serve
as a distributable key object for caching.
| |
| CacheableDate |
An immutable date wrapper that can serve as a distributable
key object for caching as well as being a string value.
| |
| CacheableDouble |
An immutable wrapper for doubles that can serve
as a distributable key object for caching.
| |
| CacheableDoubleArray |
An immutable wrapper for array of doubles that can serve
as a distributable object for caching.
| |
| CacheableFileName |
An immutable filename wrapper that can serve as a distributable
key object for caching as well as being a string value.
| |
| CacheableFloat |
An immutable wrapper for floats that can serve
as a distributable key object for caching.
| |
| CacheableFloatArray |
An immutable wrapper for array of floats that can serve
as a distributable object for caching.
| |
| CacheableHashMap |
A mutable ICacheableKey to IGFSerializable hash map
that can serve as a distributable object for caching. This class
extends .NET generic Dictionary class.
| |
| CacheableHashSet | ||
| CacheableHashSetType<gemfire::CacheableContainerType<gemfire::HashSetT<gemfire::SharedPtr<gemfire::CacheableKey> >,66> > | ||
| CacheableHashSetType<gemfire::CacheableContainerType<gemfire::HashSetT<gemfire::SharedPtr<gemfire::CacheableKey> >,66> >..::Enumerator | ||
| CacheableHashSetType<gemfire::CacheableContainerType<gemfire::HashSetT<gemfire::SharedPtr<gemfire::CacheableKey> >,73> > | ||
| CacheableHashSetType<gemfire::CacheableContainerType<gemfire::HashSetT<gemfire::SharedPtr<gemfire::CacheableKey> >,73> >..::Enumerator | ||
| CacheableHashTable |
A mutable ICacheableKey to IGFSerializable hash table
that can serve as a distributable object for caching. This class
extends .NET generic Dictionary class.
| |
| CacheableIdentityHashMap |
A mutable ICacheableKey to IGFSerializable hash map
that can serve as a distributable object for caching. This class
extends .NET generic Dictionary class. This class is meant
as a means to interoperate with java server side
IdentityHashMap class objects but is intentionally not
intended to provide java.util.IdentityHashMap semantics.
| |
| CacheableInt16 |
An immutable wrapper for 16-bit integers that can serve
as a distributable key object for caching.
| |
| CacheableInt16Array |
An immutable wrapper for array of 16-bit integers that can serve
as a distributable object for caching.
| |
| CacheableInt32 |
An immutable wrapper for 32-bit integers that can serve
as a distributable key object for caching.
| |
| CacheableInt32Array |
An immutable wrapper for array of 32-bit integers that can serve
as a distributable object for caching.
| |
| CacheableInt64 |
An immutable wrapper for 64-bit integers that can serve
as a distributable key object for caching.
| |
| CacheableInt64Array |
An immutable wrapper for array of 64-bit integers that can serve
as a distributable object for caching.
| |
| CacheableKey |
This class wraps the native C++ gemfire::Serializable objects
as managed IGFSerializable objects.
| |
| CacheableLinkedHashSet | ||
| CacheableObject |
An mutable generic Object wrapper that can
serve as a distributable value for caching.
| |
| CacheableObjectArray |
A mutable IGFSerializable object array wrapper that can serve
as a distributable object for caching. Though this class provides
compatibility with java Object[] serialization, it provides the
semantics of .NET generic List class.
| |
| CacheableObjectXml |
A mutable generic Object wrapper that can
serve as a distributable value for caching.
| |
| CacheableStack |
A mutable IGFSerializable vector wrapper that can serve as
a distributable object for caching.
| |
| CacheableString |
An immutable string wrapper that can serve as a distributable
key object for caching as well as being a string value.
| |
| CacheableStringArray |
An immutable wrapper for array of strings that can serve as
a distributable object for caching.
| |
| CacheableUndefined |
Encapsulate an undefined result.
| |
| CacheableVector |
A mutable IGFSerializable vector wrapper that can serve as
a distributable object for caching. This class extends .NET generic
List class.
| |
| CacheAttributes |
Defines attributes for configuring a cache.
| |
| CacheAttributesFactory |
Creates instances of CacheAttributes.
| |
| CacheClosedException |
Thrown when an operation is attempted on a closed cache.
| |
| CacheExistsException |
Thrown when an attempt is made to create an existing cache.
| |
| CacheFactory |
A factory class that must be used to obtain instances of Cache.
| |
| CacheListenerAdapter |
Utility class that implements all methods in ICacheListener
with empty implementations. Applications can subclass this class
and only override the methods for the events of interest.
| |
| CacheListenerException |
Thrown when the cache listener throws an exception.
| |
| CacheLoader |
CacheLoader
| |
| CacheLoaderException |
Thrown when the cache loader aborts the operation.
| |
| CacheProxyException |
Thrown when there is an error in the cache proxy.
| |
| CacheServerException |
Thrown when an exception occurs on the cache server.
| |
| CacheStatistics |
Defines common statistical information for both the region and its entries.
| |
| CacheWriterAdapter |
Utility class that implements all methods in ICacheWriter
with empty implementations. Applications can subclass this class
and only override the methods for the events of interest.
| |
| CacheWriterException |
Thrown when the cache writer aborts the operation.
| |
| CacheXmlException |
Thrown when the cache xml is incorrect.
| |
| ClassCastException |
Thrown when a cast operation fails.
| |
| ConcurrentModificationException |
Thrown when a concurrent operation fails.
| |
| DataInput |
Provides operations for reading primitive data values and user-defined
objects from a byte stream.
| |
| DataOutput |
Provides operations for writing primitive data values, and user-defined
objects implementing IGFSerializable, to a byte stream.
This class is intentionally not thread safe.
| |
| DiskCorruptException |
Thrown by the persistence manager when the data
to be read from disk is corrupt.
| |
| DiskFailureException |
Thrown by the persistence manager when a write
fails due to disk failure.
| |
| DiskPolicy |
Static class containing convenience methods for DiskPolicyType.
| |
| DistributedSystem |
DistributedSystem encapsulates this applications "connection" into the
GemFire Java servers.
| |
| DuplicateDurableClientException |
Thrown when a duplicate durable client id is provided to the server.
| |
| EntryDestroyedException |
Thrown when an operation is attempted on a destroyed entry.
| |
| EntryEvent |
This class encapsulates events that occur for an entry in a region.
| |
| EntryExistsException |
Thrown when attempt is made to create an existing entry.
| |
| EntryNotFoundException |
Thrown when an operation is attempted on a non-existent entry.
| |
| Expiration |
Static class containing convenience methods for ExpirationAction.
| |
| FatalInternalException |
Thrown when there is a fatal internal exception in GemFire.
| |
| FileNotFoundException |
Thrown when a non-existing file is accessed.
| |
| GemFireClassIds |
Static class containing the classIds of the built-in cacheable types.
| |
| GemFireConfigException |
Thrown when gemfire configuration file is incorrect.
| |
| GemFireException |
The base exception class of all managed GemFire exceptions.
| |
| GemFireIOException |
Thrown when there is an input/output error.
| |
| IllegalArgumentException |
Thrown when an argument to a method is illegal.
| |
| IllegalStateException |
Thrown when the state of cache is manipulated to be illegal.
| |
| InitFailedException |
Thrown when persistence manager fails to initialize.
| |
| InterruptedException |
Thrown when an operation is interrupted.
| |
| LeaseExpiredException |
Thrown when lease of cache proxy has expired.
| |
| LicenseException |
Thrown when there is no valid license for the product.
| |
| Log |
Defines methods available to clients that want to write a log message
to their GemFire system's shared log file.
| |
| MessageException |
Thrown when an unknown message is received from the server.
| |
| NoSystemException |
Thrown when the connecting target is not running.
| |
| NotAuthorizedException |
Thrown when a client operation is not authorized on the server.
| |
| NotConnectedException |
Thrown when an operation is attempted before connecting
to the distributed system.
| |
| NotOwnerException |
Thrown when an attempt is made to release a lock not
owned by the thread.
| |
| NullPointerException |
Thrown when a null argument is provided to a method
where it is expected to be non-null.
| |
| OutOfMemoryException |
Thrown when the system cannot allocate any more memory.
| |
| OutOfRangeException |
Thrown when bound of array/vector etc. is exceeded.
| |
| Properties |
Provides a collection of properties, each of which is a key/value
pair. Each key is a string, and the value may be a string
or an integer.
| |
| Query |
Class to encapsulate a query.
| |
| QueryException |
Thrown when query exception occurs at the server.
| |
| QueryService |
Provides a query service.
| |
| RedundancyException |
Thrown when redundancy level is not satisfied.
| |
| Region |
Encapsulates a concrete region of cached data.
| |
| RegionAttributes |
Defines attributes for configuring a region.
| |
| RegionCreationFailedException |
Thrown when a region creation operation fails.
| |
| RegionDestroyedException |
Thrown when an operation is attempted on a destroyed region.
| |
| RegionEntry |
An object in a region that represents an entry, that is, a key-value pair.
| |
| RegionEvent |
This class encapsulates events that occur for a region.
| |
| RegionExistsException |
Thrown when an attempt is made to create an existing region.
| |
| ResultSet |
Encapsulates a query result set.
It specifies the interface for the resultset obtained from the
Gemfire cache server
| |
| Scope |
Static class containing convenience methods for ScopeType.
| |
| SelectResultsIterator |
Iterator for a query result.
| |
| Serializable |
This class wraps the native C++ gemfire::Serializable objects
as managed IGFSerializable objects.
| |
| ShutdownFailedException |
Thrown when persistence manager fails to close properly.
| |
| StatisticsDisabledException |
Thrown when statistics are invoked for a region where
they are disabled.
| |
| Struct |
Encapsulates a row of query struct set.
| |
| StructSet |
Encapsulates a query struct set.
| |
| SystemProperties |
A class for internal use, that encapsulates the properties that can be
set through Connect(String)
or a gfcpp.properties file.
| |
| TimeoutException |
Thrown when a timout occurs.
| |
| UnknownException |
An unknown exception occurred.
| |
| UnsupportedOperationException |
Thrown when an operation unsupported by the
current configuration is attempted.
| |
| WrongRegionScopeException |
Thrown when a region is created in an incorrect scope.
|
Interfaces
| Interface | Description | |
|---|---|---|
| IAuthInitialize |
Specifies the mechanism to obtain credentials for a client.
It is mandantory for clients when the server is running in secure
mode having a security-client-authenticator module specified.
Implementations should register the library path as
security-client-auth-library system property and factory
function (a zero argument function returning pointer to an
AuthInitialize object) as the security-client-auth-factory
system property.
For a managed class implementing IAuthInitialize the fully
qualified name of the factory function should be provided in the
form {Namespace}.{Class Name}.{Method Name} as the
security-client-auth-factory property.
| |
| ICacheableKey |
This interface class is the superclass of all user objects
in the cache that can be used as a key.
| |
| ICacheListener |
An application plug-in that can be installed on a region.
| |
| ICacheLoader | ||
| ICacheRegionListener |
An application plug-in that can be installed on a cache.
| |
| ICacheWriter |
An application plug-in that can be installed on a region.
Defines methods that are called before entry modification,
such as writing the value to a database.
| |
| IGFSerializable |
This interface class is the superclass of all user objects
in the cache that can be serialized.
| |
| ISelectResults |
Interface to encapsulate a select query result set.
|
Delegates
| Delegate | Description | |
|---|---|---|
| PropertyVisitor |
Delegate that represents visitor for the Properties class.
| |
| TypeFactoryMethod |
Signature of function delegates passed to RegisterType(TypeFactoryMethod).
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 FromData(DataInput).
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| DiskPolicyType |
Enumerated type for disk policy.
Contains values for setting the disk policy type.
| |
| ExpirationAction |
Enumerated type for expiration (LRU) actions.
Contains values for setting an action type.
| |
| LogLevel |
Logging levels.
| |
| 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.
|