Tanzu GemFire Distributed Types Java API Reference
Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accumulateAndGet(V, BinaryOperator<V>) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Atomically updates the current value with the results of applying the given function to the current and given values, returning the updated value.
- acquire() - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Acquire a single permit.
- acquire(int) - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Acquire a number of permits.
- add(E) - Method in interface com.vmware.gemfire.distributedtypes.DCircularQueue
-
Adds the given element to this queue.
- addAndGet(long) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicLong
-
Atomically adds the given value to the current value.
- availablePermits() - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Return the number of permits available
- await() - Method in interface com.vmware.gemfire.distributedtypes.DCountDownLatch
-
Causes the current thread to wait until the latch has counted down to zero, unless the thread is interrupted.
- await(long, TimeUnit) - Method in interface com.vmware.gemfire.distributedtypes.DCountDownLatch
-
Causes the current thread to wait until the latch has counted down to zero, unless the thread is interrupted, or the specified waiting time has elapsed.
B
- build() - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId.Builder
-
Create a DSnowflakeId instance
- builder() - Static method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId
-
Provides a Builder used to create customized DSnowflakeIds.
C
- ClientDisconnectedException - Exception in com.vmware.gemfire.distributedtypes
-
An exception that is thrown by the server to indicate that it 'seems' as though the client has disconnected.
- ClientDisconnectedException(String) - Constructor for exception com.vmware.gemfire.distributedtypes.ClientDisconnectedException
- close() - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- close() - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
-
No-op.
- com.vmware.gemfire.distributedtypes - package com.vmware.gemfire.distributedtypes
-
GemFire Distributed Types
- compareAndSet(long, long) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicLong
-
Atomically sets the value to the given updated value if the current value
==the expected value. - compareAndSet(V, V) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Atomically sets the value to the given updated value if the current value == the expected value.
- countDown() - Method in interface com.vmware.gemfire.distributedtypes.DCountDownLatch
-
Decrements the count of the latch, releasing all waiting threads if the count reaches zero.
- createDAtomicLong(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDAtomicLong(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDAtomicLong(String, long) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDAtomicLong(String, long) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDAtomicReference(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDAtomicReference(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDAtomicReference(String, V) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDAtomicReference(String, V) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDBlockingQueue(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDBlockingQueue(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDBlockingQueue(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDBlockingQueue(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDCircularQueue(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDCircularQueue(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDCountDownLatch(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
-
Create or retrieve a DCountDownLatch with a given count.
- createDCounter(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDCounter(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDCounter(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDCounter(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
-
Create or retrieve a DCounter.
- createDList(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDList(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
- createDSemaphore(String, int) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDSet(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
- createDSet(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeRegionScopeFactory
D
- DAtomicLong - Interface in com.vmware.gemfire.distributedtypes
-
A distributed and highly-available implementation of
AtomicLongs. - DAtomicReference<V> - Interface in com.vmware.gemfire.distributedtypes
-
A distributed and highly-available implementation of
AtomicReferences. - DBlockingQueue<E> - Interface in com.vmware.gemfire.distributedtypes
-
An implementation of a
BlockingDequethat is distributed and highly available. - DCircularQueue<E> - Interface in com.vmware.gemfire.distributedtypes
-
An implementation of a
Queuethat provides a first-in first-out queue with a fixed size that replaces its oldest element if full. - DCountDownLatch - Interface in com.vmware.gemfire.distributedtypes
- DCounter - Interface in com.vmware.gemfire.distributedtypes
-
A distributed type, similar to a DAtomicLong, but with higher throughput and less potential contention than DAtomicLong.
- DEFAULT_EPOCH_START - Static variable in interface com.vmware.gemfire.distributedtypes.DSnowflakeId
-
The default epoch start - 1 Jan, 2020
- DEFAULT_MACHINE_BITS - Static variable in interface com.vmware.gemfire.distributedtypes.DSnowflakeId
- DEFAULT_SEQUENCE_BITS - Static variable in interface com.vmware.gemfire.distributedtypes.DSnowflakeId
- destroy() - Method in interface com.vmware.gemfire.distributedtypes.DCountDownLatch
-
Destroys the countdown latch.
- destroy() - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Destroy the semaphore.
- destroy() - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId
-
This is a no-op for DSnowflakeIds.
- destroy() - Method in interface com.vmware.gemfire.distributedtypes.DType
-
Destroy this instance.
- DList<E> - Interface in com.vmware.gemfire.distributedtypes
-
A DList is a distributed and highly available
Listthat is backed by a GemFire cluster. - drainPermits() - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Acquire all remaining permits if any are available.
- DSemaphore - Interface in com.vmware.gemfire.distributedtypes
-
DSemaphore is a highly-available, distributed version of the JDK's
Semaphore. - DSet<E> - Interface in com.vmware.gemfire.distributedtypes
-
A DSet is a distributed and highly available
Setthat is backed by a GemFire cluster. - DSnowflakeId - Interface in com.vmware.gemfire.distributedtypes
-
DSnowflakeId is a cluster-unique ID generator based on the Twitter/X Snowflake design.
- DSnowflakeId.Builder - Interface in com.vmware.gemfire.distributedtypes
-
Builder used to create custom DSnowflakeIds.
- DType - Interface in com.vmware.gemfire.distributedtypes
-
Base interface for all Distributed Types
- DTypeException - Exception in com.vmware.gemfire.distributedtypes
-
General exception class for distributed types
- DTypeException(String) - Constructor for exception com.vmware.gemfire.distributedtypes.DTypeException
- DTypeFactory - Class in com.vmware.gemfire.distributedtypes
-
The
DTypeFactoryis the primary means to access and create distributed types. - DTypeFactory(ClientCache) - Constructor for class com.vmware.gemfire.distributedtypes.DTypeFactory
-
Instantiate a factory instance used to create specific distributed types.
- DTypeRegionScopeFactory - Class in com.vmware.gemfire.distributedtypes
-
A scoped factory that creates distributed types backed by a user-supplied region rather than the default
/DTYPESregion. - DTYPES_REGION - Static variable in class com.vmware.gemfire.distributedtypes.DTypeFactory
E
- EntryDestroyedException - Exception in com.vmware.gemfire.distributedtypes
-
An exception typically thrown when attempting to access an instance that has been destroyed.
- EntryDestroyedException(String) - Constructor for exception com.vmware.gemfire.distributedtypes.EntryDestroyedException
G
- get() - Method in interface com.vmware.gemfire.distributedtypes.DAtomicLong
-
Gets the current value.
- get() - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Gets the current value.
- get() - Method in interface com.vmware.gemfire.distributedtypes.DCounter
-
Get the current value.
- getAndAccumulate(V, BinaryOperator<V>) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Atomically updates the current value with the results of applying the given function to the current and given values, returning the previous value.
- getAndAdd(long) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicLong
-
Atomically adds the given value to the current value.
- getAndSet(long) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicLong
-
Atomically sets to the given value and returns the old value.
- getAndSet(V) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Atomically sets to the given value and returns the old value.
- getAndUpdate(UnaryOperator<V>) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Atomically updates the current value with the results of applying the given function, returning the previous value.
- getCount() - Method in interface com.vmware.gemfire.distributedtypes.DCountDownLatch
-
Returns the current count.
- getName() - Method in interface com.vmware.gemfire.distributedtypes.DType
-
Get the name of this instance.
- getQueueLength() - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Return the number of callers waiting to acquire permits
- getWaiters() - Method in interface com.vmware.gemfire.distributedtypes.DCountDownLatch
-
Return the number of threads waiting on this countdown latch.
I
- increment(long) - Method in interface com.vmware.gemfire.distributedtypes.DCounter
-
Update the value.
- iterator() - Method in interface com.vmware.gemfire.distributedtypes.DCircularQueue
N
- nextId() - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId
-
Generate a new ID.
O
- offer(E) - Method in interface com.vmware.gemfire.distributedtypes.DCircularQueue
-
Adds the given element to this queue.
P
- parse(long) - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId
-
Parse a sequence ID into its individual components based on the configured bit lengths.
R
- region(String) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
-
Return a
DTypeRegionScopeFactorythat creates distributed types backed by the named pre-created region. - region(Region<String, Object>) - Method in class com.vmware.gemfire.distributedtypes.DTypeFactory
-
Return a
DTypeRegionScopeFactorythat creates distributed types backed by the given pre-created region instead of the default/DTYPESregion. - release() - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Release a single permit.
- release(int) - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Release a number of permits.
S
- set(long) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicLong
-
Set the given value atomically.
- set(V) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Sets to the given value.
T
- toString() - Method in interface com.vmware.gemfire.distributedtypes.DCountDownLatch
-
Returns a string identifying this latch, as well as its state.
- tryAcquire() - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Non-blocking version of
acquirewhich does not block. - tryAcquire(int) - Method in interface com.vmware.gemfire.distributedtypes.DSemaphore
-
Non-blocking version of
acquire(int)which does not block.
U
- updateAndGet(UnaryOperator<V>) - Method in interface com.vmware.gemfire.distributedtypes.DAtomicReference
-
Atomically updates the current value with the results of applying the given function, returning the updated value.
W
- withEpochStart(long) - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId.Builder
-
Specify a custom epoch start
- withMachineBits(int) - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId.Builder
-
Specify the number of bits to use for the machine ID
- withMachineId(long) - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId.Builder
-
Specify a custom machine ID
- withSequenceBits(int) - Method in interface com.vmware.gemfire.distributedtypes.DSnowflakeId.Builder
-
Specify the number of bits to use for the sequence number
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form