Package org.jgroups.util
Class Buffer.Options
- java.lang.Object
-
- org.jgroups.util.Buffer.Options
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanblockprotected static Buffer.OptionsDEFAULTprotected java.util.function.Predicate<Message>remove_filterprotected booleanremove_from_batch
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanblock()Buffer.Optionsblock(boolean block)static Buffer.OptionsDEFAULT()java.util.function.Predicate<Message>remove_filter()Buffer.OptionsremoveFilter(java.util.function.Predicate<Message> f)booleanremoveFromBatch()Buffer.OptionsremoveFromBatch(boolean r)java.lang.StringtoString()
-
-
-
Field Detail
-
block
protected boolean block
-
remove_from_batch
protected boolean remove_from_batch
-
remove_filter
protected java.util.function.Predicate<Message> remove_filter
-
DEFAULT
protected static final Buffer.Options DEFAULT
-
-
Method Detail
-
DEFAULT
public static Buffer.Options DEFAULT()
-
block
public boolean block()
-
block
public Buffer.Options block(boolean block)
-
removeFromBatch
public boolean removeFromBatch()
-
removeFromBatch
public Buffer.Options removeFromBatch(boolean r)
-
remove_filter
public java.util.function.Predicate<Message> remove_filter()
-
removeFilter
public Buffer.Options removeFilter(java.util.function.Predicate<Message> f)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-