| Package | Description |
|---|---|
| org.apache.ignite |
Contains entry-point Ignite & HPC APIs.
|
| org.apache.ignite.configuration |
Contains configuration-related classes.
|
| org.apache.ignite.internal |
Contains main implementation.
|
| org.apache.ignite.internal.processors.datastructures | |
| org.apache.ignite.internal.visor.node |
| Modifier and Type | Method and Description |
|---|---|
IgniteAtomicLong |
Ignite.atomicLong(String name,
AtomicConfiguration cfg,
long initVal,
boolean create)
Will get a atomic long from cache and create one if it has not been created yet and
create flag
is true. |
<T> IgniteAtomicReference<T> |
Ignite.atomicReference(String name,
AtomicConfiguration cfg,
T initVal,
boolean create)
Will get a atomic reference from cache and create one if it has not been created yet and
create flag
is true. |
IgniteAtomicSequence |
Ignite.atomicSequence(String name,
AtomicConfiguration cfg,
long initVal,
boolean create)
Will get an atomic sequence from cache and create one if it has not been created yet and
create flag
is true. |
<T,S> IgniteAtomicStamped<T,S> |
Ignite.atomicStamped(String name,
AtomicConfiguration cfg,
T initVal,
S initStamp,
boolean create)
Will get a atomic stamped from cache and create one if it has not been created yet and
create flag
is true. |
| Modifier and Type | Method and Description |
|---|---|
AtomicConfiguration |
IgniteConfiguration.getAtomicConfiguration() |
AtomicConfiguration |
AtomicConfiguration.setAffinity(AffinityFunction aff)
Sets atomic cache affinity function.
|
AtomicConfiguration |
AtomicConfiguration.setAtomicSequenceReserveSize(int seqReserveSize)
Sets default number of sequence values reserved for
IgniteAtomicSequence instances. |
AtomicConfiguration |
AtomicConfiguration.setBackups(int backups) |
AtomicConfiguration |
AtomicConfiguration.setCacheMode(CacheMode cacheMode) |
AtomicConfiguration |
AtomicConfiguration.setGroupName(String grpName) |
| Modifier and Type | Method and Description |
|---|---|
IgniteConfiguration |
IgniteConfiguration.setAtomicConfiguration(AtomicConfiguration atomicCfg) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable IgniteAtomicLong |
IgniteKernal.atomicLong(String name,
AtomicConfiguration cfg,
long initVal,
boolean create)
Will get a atomic long from cache and create one if it has not been created yet and
create flag
is true. |
<T> IgniteAtomicReference<T> |
IgniteKernal.atomicReference(String name,
AtomicConfiguration cfg,
T initVal,
boolean create)
Will get a atomic reference from cache and create one if it has not been created yet and
create flag
is true. |
@Nullable IgniteAtomicSequence |
IgniteKernal.atomicSequence(String name,
AtomicConfiguration cfg,
long initVal,
boolean create)
Will get an atomic sequence from cache and create one if it has not been created yet and
create flag
is true. |
<T,S> IgniteAtomicStamped<T,S> |
IgniteKernal.atomicStamped(String name,
AtomicConfiguration cfg,
T initVal,
S initStamp,
boolean create)
Will get a atomic stamped from cache and create one if it has not been created yet and
create flag
is true. |
| Modifier and Type | Method and Description |
|---|---|
IgniteAtomicLong |
DataStructuresProcessor.atomicLong(String name,
@Nullable AtomicConfiguration cfg,
long initVal,
boolean create)
Gets an atomic long from cache or creates one if it's not cached.
|
<T> IgniteAtomicReference<T> |
DataStructuresProcessor.atomicReference(String name,
@Nullable AtomicConfiguration cfg,
T initVal,
boolean create)
Gets an atomic reference from cache or creates one if it's not cached.
|
<T,S> IgniteAtomicStamped<T,S> |
DataStructuresProcessor.atomicStamped(String name,
@Nullable AtomicConfiguration cfg,
T initVal,
S initStamp,
boolean create)
Gets an atomic stamped from cache or creates one if it's not cached.
|
IgniteCountDownLatch |
DataStructuresProcessor.countDownLatch(String name,
@Nullable AtomicConfiguration cfg,
int cnt,
boolean autoDel,
boolean create)
Gets or creates count down latch.
|
IgniteLock |
DataStructuresProcessor.reentrantLock(String name,
@Nullable AtomicConfiguration cfg,
boolean failoverSafe,
boolean fair,
boolean create)
Gets or creates reentrant lock.
|
IgniteSemaphore |
DataStructuresProcessor.semaphore(String name,
@Nullable AtomicConfiguration cfg,
int cnt,
boolean failoverSafe,
boolean create)
Gets or creates semaphore.
|
IgniteAtomicSequence |
DataStructuresProcessor.sequence(String name,
@Nullable AtomicConfiguration cfg,
long initVal,
boolean create)
Gets a sequence from cache or creates one if it's not cached.
|
| Constructor and Description |
|---|
VisorAtomicConfiguration(AtomicConfiguration src)
Create data transfer object for atomic configuration.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020