GigaSpaces XAP.NET Documentation
GigaSpaces.Core Namespace
Class LibraryGigaSpaces.Core
Contains classes and types to handle core GigaSpaces functionality.
Declaration Syntax
C#Visual BasicVisual C++J#
namespace GigaSpaces.Core
Namespace GigaSpaces.Core
namespace GigaSpaces.Core
package GigaSpaces.Core
Types
All TypesClassesStructuresInterfacesEnumerationsDelegates
IconTypeDescription
AggregationSet
A set of aggregations to run for matches entries of the aggregate operation.

AsyncCallback<(Of <(T>)>)
References a method to be called when a corresponding asynchronous operation is completes.

ChangeModifiers
Represents modifiers for space change operations.

ChangeSet
The set of changes to apply for matches entries of the change operation.

ClusterInfo
Holds cluster related information.

EmbeddedSpaceFactory
Factory class for creating embedded space.

EntryType
Determines entry type.

GigaSpacesFactory
This class is the starting point for

IAggregationResult
Encapsulates results of an aggregate operation.

IAsyncResult<(Of <(T>)>)
Represnts the status of an asynchronous operation.

IChangedEntryDetails<(Of <(T>)>)
The result of a change operation executed on an entry

IChangeOperation
A single change applied on a ChangeSet when using a change operation on an object. See the following operations to obtain the relevant constant values in order to extract the data from the change operation
IncrementOperationAddToCollectionOperationAddRangeToCollectionOperationRemoveFromCollectionOperationSetInDictionaryOperationRemoveFromDictionaryOperationSetOperationUnsetOperation

IChangeOperationResult
A single change result which was applied on an object. See the following operations to obtain the relevant constant values in order to extract the data from the change operation
IncrementOperationAddToCollectionOperationAddRangeToCollectionOperationRemoveFromCollectionOperationSetInDictionaryOperationRemoveFromDictionaryOperationSetOperationUnsetOperation

Examples
CopyC#
IChangeResult{MyObject} changeResult = space.Change(new SqlQuery{MyObject}("someField = 'someValue'), 
                                                    new ChangeSet().Increment("counterField", 1), ChangeModifiers.ReturnDetailedResults)
foreach (IChangedEntryDetails{MyObject} changeEntryDetails in changeResult.Results) 
{
  IList{IChangeOperationResult} operations = changeEntryDetails.ChangeOperationsResults;
  foreach(IChangeOperationResult operationResult in operations) 
  {
    if (IncrementOperation.Represents(operationResult.Operation) 
    {
      String path = IncrementOperation.GetPath(operationResult.Operation);
      Number delta = IncrementOperation.GetDelta(operationResult.Operation);
      Number result = IncrementOperation.GetNewValue(operationResult);
      // ... do something with the result, path and delta
    }
    //...
  }
}


IChangeResult<(Of <(T>)>)
Result of a change operation.

IdQuery<(Of <(T>)>)
Class to encapsulate information of a query based on a Space ID. An ID query is composed of a type (provided either as a .NET type or as a string which contains the type name) and an ID value, and optionally a routing value an a query result type indicator.

IdsQuery<(Of <(T>)>)
Class to encapsulate information of a query based on multiple Space IDs. An IDs query is composed of a type (provided either as a .NET class or as a string which contains the type name) and a collection of ID values, and optionally routing value(s) an a query result type indicator.

IFailedChangedEntryDetails
The result of a change operation of a specific entry that raised an exception

ILease
Defines a type of object that is issued by the lease grantor and returned to the lease holder.

ILeaseContext<(Of <(T>)>)
Extends the basic ILease to provide additional functionality.

IPreparedTemplate<(Of <(T>)>)
Encapsulates a template that was prepared by a space proxy.

IQuery<(Of <(T>)>)
Base interface for various space query types.

IReadByIdsResult<(Of <(T>)>)
Holds enumerable results of the operation. When enumerating through the results, null values are skipped. If you want to access null values, use the property. Results are ordered based on the list of Ids provided to the method.

IReadOnlySpaceProxy
Encapsulates a read-only space proxy.

ISpaceIterator<(Of <(T>)>)
Provides an encapsulation of an iterator over a space proxy.

ISpaceProxy
Encapsulates a space proxy.

ITakeByIdsResult<(Of <(T>)>)
Holds enumerable results of the operation. When enumerating through the results, null values are skipped. If you want to access null values, use the property. Results are ordered based on the list of Ids provided to the method.

IteratorScope Obsolete.
Determines the scope of entries visible to a space iterator.

ITransaction
Interface for classes representing transactions supported by the space.

ITransactionManager
The interface used for managers of the two-phase commit protocol for top-level transactions.

JiniTransactionManagerLookupInfo
Encapsulates information required to locate a JINI transaction manager.

JvmMode
Determines the Jvm mode.

ObjectQuery<(Of <(T>)>)
Encapsulates an actual template object that is used to query the space. This is mainly used to be able to easily create generic code queries over the space.

Provider
Determines the provider that should be used

ReadModifiers
Reperesents modifiers for space read operations.

SecurityContext
Defines security info passed from the proxy to the space, used by the security filters to validate access to space functions.

SpaceConfig
Defines configurations to start a space.

SpaceIteratorConfig Obsolete.
This class is used to encapsulate settings for ISpaceIterator<(Of <(T>)>) instances.

SpaceProxyFactory
Factory class for creating a proxy to an existing space.

SpaceUrl
Encapsulates a space url.

SqlQuery<(Of <(T>)>)
Represents an Sql-like template you can use to query the space.

TakeModifiers
Reperesents modifiers for space take operations.

View
Represents a query used to initialize a local view.

WriteModifiers
Represents modifiers for space write operations.