Uses of Class
com.gigaspaces.client.ReadModifiers
Packages that use ReadModifiers
Package
Description
Deprecated: use
org.openspaces.core instead.Provides classes to configure SpaceIterator.
Top level core package holding main OpenSpaces API for Space (GigaSpace) and Map (GigaMap) and
the ability to create it.
-
Uses of ReadModifiers in com.gigaspaces.client
Fields in com.gigaspaces.client declared as ReadModifiersModifier and TypeFieldDescriptionstatic final ReadModifiersReadModifiers.DIRTY_READWhen a search for matching entries encounters an entry locked under a different uncommitted transaction, the lock is ignored and matching is performed on the uncommitted state.static final ReadModifiersReadModifiers.EXCLUSIVE_READ_LOCKThe resulting entries are locked, blocking update/remove from other transactions.static final ReadModifiersReadModifiers.FIFOSearch for matching entries using First-In-First-Out order.static final ReadModifiersReadModifiers.FIFO_GROUPING_POLLSearch for matching entries in the FIFO group indicated in the template.static final ReadModifiersReadModifiers.IF_EXISTSBlocks only if there's a matching entry which is locked by another transaction.static final ReadModifiersReadModifiers.IGNORE_PARTIAL_FAILUREIf one or more partitions are not available during the operation, ignore them and return partial results based on the available partitions (instead of throwing an ReadMultipleException which contains the partial results, which is the default behavior).static final ReadModifiersReadModifiers.MEMORY_ONLY_SEARCHSearch for matching entries in cache memory only (do not use the underlying EDS).static final ReadModifiersReadModifiers.NONEEmpty - use operation default behavior.static final ReadModifiersReadModifiers.READ_COMMITTEDWhen a search for matching entries encounters an entry locked under a different uncommitted transaction, the lock is honored and matching is performed on the committed state.static final ReadModifiersReadModifiers.REPEATABLE_READWhen a search for matching entries encounters an entry locked under a different uncommitted transaction, the lock is honored and the entry is skipped (if the operation is invoked with a timeout it will block until the entry will be released or the timeout expires).Methods in com.gigaspaces.client that return ReadModifiersModifier and TypeMethodDescriptionReadModifiers.add(ReadModifiers modifiers) Creates a new modifiers instance which is a union of the specified modifiers and this instance.protected ReadModifiersReadModifiers.create(int modifiers) ReadModifiers.remove(ReadModifiers modifiers) Creates a new modifiers instance which excludes the specified modifiers from this instance.ReadModifiers.setIsolationLevel(ReadModifiers isolationLevel) Creates a new modifiers instance with the specified isolation level set and any other isolation level unset.Methods in com.gigaspaces.client with parameters of type ReadModifiersModifier and TypeMethodDescriptionReadModifiers.add(ReadModifiers modifiers) Creates a new modifiers instance which is a union of the specified modifiers and this instance.booleanReadModifiers.contains(ReadModifiers modifiers) Checks if the specified modifier is set.ReadModifiers.remove(ReadModifiers modifiers) Creates a new modifiers instance which excludes the specified modifiers from this instance.ReadModifiers.setIsolationLevel(ReadModifiers isolationLevel) Creates a new modifiers instance with the specified isolation level set and any other isolation level unset.Constructors in com.gigaspaces.client with parameters of type ReadModifiersModifierConstructorDescriptionReadModifiers(ReadModifiers... modifiers) Creates a new modifiers from the specified modifiers.ReadModifiers(ReadModifiers modifiers1, ReadModifiers modifiers2) Creates a new modifiers from the specified modifiers.ReadModifiers(ReadModifiers modifiers1, ReadModifiers modifiers2, ReadModifiers modifiers3) Creates a new modifiers from the specified modifiers. -
Uses of ReadModifiers in com.gigaspaces.client.internal
Subclasses of ReadModifiers in com.gigaspaces.client.internalFields in com.gigaspaces.client.internal declared as ReadModifiersModifier and TypeFieldDescriptionstatic final ReadModifiersInternalReadModifiers.RUN_ON_IO_THREADIndicates operation should run directly on i/o thread, instead of being submitted to the operations thread pool. -
Uses of ReadModifiers in com.gigaspaces.client.iterator
Methods in com.gigaspaces.client.iterator that return ReadModifiersMethods in com.gigaspaces.client.iterator with parameters of type ReadModifiersModifier and TypeMethodDescriptionSpaceIteratorConfiguration.setReadModifiers(ReadModifiers readModifiers) Sets theReadModifierswhich allows to programmatically control the isolation level this iteration * operation will be performed under. -
Uses of ReadModifiers in org.openspaces.core
Methods in org.openspaces.core that return ReadModifiersModifier and TypeMethodDescriptionDefaultGigaSpace.getDefaultReadModifiers()GigaSpace.getDefaultReadModifiers()Gets the defaultReadModifiersset during thisGigaSpaceconfiguration.GigaSpaceConfigurer.getDefaultReadModifiers()static ReadModifiersIsolationLevelHelpers.toReadModifiers(int isolationLevel) Methods in org.openspaces.core with parameters of type ReadModifiersModifier and TypeMethodDescriptionDefaultGigaSpace.aggregate(ISpaceQuery<T> query, AggregationSet aggregationSet, ReadModifiers readModifiers) GigaSpace.aggregate(ISpaceQuery<T> query, AggregationSet aggregationSet, ReadModifiers readModifiers) <T> AsyncFuture<T>DefaultGigaSpace.asyncRead(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers) <T> AsyncFuture<T>DefaultGigaSpace.asyncRead(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers, AsyncFutureListener<T> listener) <T> AsyncFuture<T>DefaultGigaSpace.asyncRead(T template, long timeout, ReadModifiers modifiers) <T> AsyncFuture<T>DefaultGigaSpace.asyncRead(T template, long timeout, ReadModifiers modifiers, AsyncFutureListener<T> listener) <T> AsyncFuture<T>GigaSpace.asyncRead(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers) Reads any matching entry from the space in an asynchronous manner.<T> AsyncFuture<T>GigaSpace.asyncRead(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers, AsyncFutureListener<T> listener) Reads any matching entry from the space in an asynchronous manner.<T> AsyncFuture<T>GigaSpace.asyncRead(T template, long timeout, ReadModifiers modifiers) Reads any matching entry from the space in an asynchronous manner.<T> AsyncFuture<T>GigaSpace.asyncRead(T template, long timeout, ReadModifiers modifiers, AsyncFutureListener<T> listener) Reads any matching entry from the space in an asynchronous manner.GigaSpaceConfigurer.defaultReadModifiers(ReadModifiers defaultReadModifiers) Set the defaultReadModifiersto be used for read operations on theGigaSpaceinstance.<T> SpaceIterator<T>DefaultGigaSpace.iterator(ISpaceQuery<T> template, int batchSize, ReadModifiers modifiers) <T> SpaceIterator<T>DefaultGigaSpace.iterator(T template, int batchSize, ReadModifiers modifiers) <T> SpaceIterator<T>GigaSpace.iterator(ISpaceQuery<T> template, int batchSize, ReadModifiers modifiers) Returns an iterator over the entries in the space which match the specified template.<T> SpaceIterator<T>GigaSpace.iterator(T template, int batchSize, ReadModifiers modifiers) Returns an iterator over the entries in the space which match the specified template.<T> TDefaultGigaSpace.read(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers) <T> TDefaultGigaSpace.read(T template, long timeout, ReadModifiers modifiers) <T> TGigaSpace.read(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers) Read any matching object from the space, blocking until one exists.<T> TGigaSpace.read(T template, long timeout, ReadModifiers modifiers) Read any matching object from the space, blocking until one exists.<T> TDefaultGigaSpace.readById(IdQuery<T> query, long timeout, ReadModifiers modifiers) <T> TDefaultGigaSpace.readById(Class<T> clazz, Object id, Object routing, long timeout, ReadModifiers modifiers) <T> TGigaSpace.readById(IdQuery<T> query, long timeout, ReadModifiers modifiers) Read an object from the space matching the specified id query.<T> TGigaSpace.readById(Class<T> clazz, Object id, Object routing, long timeout, ReadModifiers modifiers) Read an object from the space matching its id, the class and the routing value.<T> ReadByIdsResult<T>DefaultGigaSpace.readByIds(IdsQuery<T> query, ReadModifiers modifiers) <T> ReadByIdsResult<T>DefaultGigaSpace.readByIds(Class<T> clazz, Object[] ids, Object[] routings, ReadModifiers modifiers) <T> ReadByIdsResult<T>DefaultGigaSpace.readByIds(Class<T> clazz, Object[] ids, Object routing, ReadModifiers modifiers) <T> ReadByIdsResult<T>GigaSpace.readByIds(IdsQuery<T> query, ReadModifiers modifiers) Read objects from the space matching the specified IDs query, with the providedReadModifiers.<T> ReadByIdsResult<T>GigaSpace.readByIds(Class<T> clazz, Object[] ids, Object[] routingKeys, ReadModifiers modifiers) Read objects from the space matching their IDs, the specified class and the routing keys, with the providedReadModifiers.<T> ReadByIdsResult<T>GigaSpace.readByIds(Class<T> clazz, Object[] ids, Object routingKey, ReadModifiers modifiers) Read objects from the space matching their IDs, the specified class type and routing key, with the providedReadModifiers.<T> TDefaultGigaSpace.readIfExists(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers) <T> TDefaultGigaSpace.readIfExists(T template, long timeout, ReadModifiers modifiers) <T> TGigaSpace.readIfExists(ISpaceQuery<T> template, long timeout, ReadModifiers modifiers) Read any matching object from the space, returningnullif there currently is none.<T> TGigaSpace.readIfExists(T template, long timeout, ReadModifiers modifiers) Read any matching object from the space, returningnullif there currently is none.<T> TDefaultGigaSpace.readIfExistsById(IdQuery<T> query, long timeout, ReadModifiers modifiers) <T> TDefaultGigaSpace.readIfExistsById(Class<T> clazz, Object id, Object routing, long timeout, ReadModifiers modifiers) <T> TGigaSpace.readIfExistsById(IdQuery<T> query, long timeout, ReadModifiers modifiers) Read an object from the space matching the specified id query.<T> TGigaSpace.readIfExistsById(Class<T> clazz, Object id, Object routing, long timeout, ReadModifiers modifiers) Read an object from the space matching its id, the class and the routing value.<T> T[]DefaultGigaSpace.readMultiple(ISpaceQuery<T> template, int maxEntries, ReadModifiers modifiers) <T> T[]DefaultGigaSpace.readMultiple(T template, int maxEntries, ReadModifiers modifiers) <T> T[]GigaSpace.readMultiple(ISpaceQuery<T> template, int maxEntries, ReadModifiers modifiers) Read any matching entries from the space.<T> T[]GigaSpace.readMultiple(T template, int maxEntries, ReadModifiers modifiers) Read any matching entries from the space.voidDefaultGigaSpace.setDefaultReadModifiers(ReadModifiers modifiers) Sets the defaultReadModifierswhen excecutionDefaultGigaSpace.read(Object)voidGigaSpaceFactoryBean.setDefaultReadModifiers(ReadModifiers[] defaultReadModifiers) Set the defaultReadModifiersto be used for read operations on theGigaSpaceinstance. -
Uses of ReadModifiers in org.openspaces.extensions
Methods in org.openspaces.extensions with parameters of type ReadModifiersModifier and TypeMethodDescriptionstatic <T> CompletableFuture<T>AsyncExtension.asyncRead(GigaSpace gigaSpace, ISpaceQuery<T> template, long timeout, TimeUnit timeUnit, ReadModifiers modifiers) static <T> CompletableFuture<T>AsyncExtension.asyncRead(GigaSpace gigaSpace, T template, long timeout, TimeUnit timeUnit, ReadModifiers modifiers)