public final class FixedSequenceGroup extends Sequence
Modifier and Type | Field and Description |
---|---|
protected long |
p1 |
protected long |
p10 |
protected long |
p11 |
protected long |
p12 |
protected long |
p13 |
protected long |
p14 |
protected long |
p15 |
protected long |
p2 |
protected long |
p3 |
protected long |
p4 |
protected long |
p5 |
protected long |
p6 |
protected long |
p7 |
protected long |
p9 |
protected long |
value |
Constructor and Description |
---|
FixedSequenceGroup(Sequence[] sequences)
Constructor
|
Modifier and Type | Method and Description |
---|---|
long |
addAndGet(long increment)
Not supported.
|
boolean |
compareAndSet(long expectedValue,
long newValue)
Not supported.
|
long |
get()
Get the minimum sequence value for the group.
|
long |
incrementAndGet()
Not supported.
|
void |
set(long value)
Not supported.
|
String |
toString() |
setVolatile
protected long p9
protected long p10
protected long p11
protected long p12
protected long p13
protected long p14
protected long p15
protected volatile long value
protected long p1
protected long p2
protected long p3
protected long p4
protected long p5
protected long p6
protected long p7
public FixedSequenceGroup(Sequence[] sequences)
sequences
- the list of sequences to be tracked under this sequence grouppublic long get()
public void set(long value)
public boolean compareAndSet(long expectedValue, long newValue)
compareAndSet
in class Sequence
expectedValue
- The expected current value.newValue
- The value to update to.public long incrementAndGet()
incrementAndGet
in class Sequence
Copyright © 2018. All rights reserved.