Package com.lmax.disruptor
Class FixedSequenceGroup
java.lang.Object
com.lmax.disruptor.LhsPadding
com.lmax.disruptor.Value
com.lmax.disruptor.RhsPadding
com.lmax.disruptor.Sequence
com.lmax.disruptor.FixedSequenceGroup
Hides a group of Sequences behind a single Sequence
-
Field Summary
FieldsFields inherited from class com.lmax.disruptor.Sequence
INITIAL_VALUEFields inherited from class com.lmax.disruptor.RhsPadding
p100, p101, p102, p103, p104, p105, p106, p107, p110, p111, p112, p113, p114, p115, p116, p117, p120, p121, p122, p123, p124, p125, p126, p127, p130, p131, p132, p133, p134, p135, p136, p137, p140, p141, p142, p143, p144, p145, p146, p147, p150, p151, p152, p153, p154, p155, p156, p157, p90, p91, p92, p93, p94, p95, p96, p97Fields inherited from class com.lmax.disruptor.LhsPadding
p10, p11, p12, p13, p14, p15, p16, p17, p20, p21, p22, p23, p24, p25, p26, p27, p30, p31, p32, p33, p34, p35, p36, p37, p40, p41, p42, p43, p44, p45, p46, p47, p50, p51, p52, p53, p54, p55, p56, p57, p60, p61, p62, p63, p64, p65, p66, p67, p70, p71, p72, p73, p74, p75, p76, p77 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongaddAndGet(long increment) Not supported.booleancompareAndSet(long expectedValue, long newValue) Not supported.longget()Get the minimum sequence value for the group.longNot supported.voidset(long value) Not supported.toString()Methods inherited from class com.lmax.disruptor.Sequence
getAndAdd, setVolatile
-
Field Details
-
sequences
-
-
Constructor Details
-
FixedSequenceGroup
Constructor- Parameters:
sequences- the list of sequences to be tracked under this sequence group
-
-
Method Details
-
get
public long get()Get the minimum sequence value for the group. -
toString
-
set
public void set(long value) Not supported. -
compareAndSet
public boolean compareAndSet(long expectedValue, long newValue) Not supported.- Overrides:
compareAndSetin classSequence- Parameters:
expectedValue- The expected current value.newValue- The value to update to.- Returns:
- true if the operation succeeds, false otherwise.
-
incrementAndGet
public long incrementAndGet()Not supported.- Overrides:
incrementAndGetin classSequence- Returns:
- The value after the increment
-
addAndGet
public long addAndGet(long increment) Not supported.
-