public class DisconnectedBufferOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DELETE_OLDEST_MESSAGES_DEFAULT |
static boolean |
DISCONNECTED_BUFFER_ENABLED_DEFAULT |
static int |
DISCONNECTED_BUFFER_SIZE_DEFAULT
The default size of the disconnected buffer
|
static boolean |
PERSIST_DISCONNECTED_BUFFER_DEFAULT |
Constructor and Description |
---|
DisconnectedBufferOptions()
Constructs a new
DisconnectedBufferOptions object using the
default values. |
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize() |
boolean |
isBufferEnabled() |
boolean |
isDeleteOldestMessages() |
boolean |
isPersistBuffer() |
void |
setBufferEnabled(boolean bufferEnabled) |
void |
setBufferSize(int bufferSize) |
void |
setDeleteOldestMessages(boolean deleteOldestMessages) |
void |
setPersistBuffer(boolean persistBuffer) |
public static final int DISCONNECTED_BUFFER_SIZE_DEFAULT
public static final boolean DISCONNECTED_BUFFER_ENABLED_DEFAULT
public static final boolean PERSIST_DISCONNECTED_BUFFER_DEFAULT
public static final boolean DELETE_OLDEST_MESSAGES_DEFAULT
public DisconnectedBufferOptions()
DisconnectedBufferOptions
object using the
default values.
The defaults are:
public int getBufferSize()
public void setBufferSize(int bufferSize)
public boolean isBufferEnabled()
public void setBufferEnabled(boolean bufferEnabled)
public boolean isPersistBuffer()
public void setPersistBuffer(boolean persistBuffer)
public boolean isDeleteOldestMessages()
public void setDeleteOldestMessages(boolean deleteOldestMessages)