Package org.jgroups.util
Class Buffer.Options
- java.lang.Object
-
- org.jgroups.util.Buffer.Options
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
block
protected static Buffer.Options
DEFAULT
protected java.util.function.Predicate<Message>
remove_filter
protected boolean
remove_from_batch
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
block()
Buffer.Options
block(boolean block)
static Buffer.Options
DEFAULT()
java.util.function.Predicate<Message>
remove_filter()
Buffer.Options
removeFilter(java.util.function.Predicate<Message> f)
boolean
removeFromBatch()
Buffer.Options
removeFromBatch(boolean r)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-