Package bbflow
Class bb_settings
java.lang.Object
bbflow.bb_settings
Global settings for the bbflow package
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
back off time used in case push or pop from a queue fail (non-blocking queues) Unit is nanosecondsstatic boolean
global settings to decide if the queue should be BLOCKING or NON BLOCKINGstatic boolean
global settings to decide if the queue should be BOUNDED or UNBOUNDEDstatic boolean
buffering in TCP channels.static int
defualt buffer size for BOUNDED queues, used if user left blankstatic int
listening port used as a base for INPUT network queues. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BLOCKING
public static boolean BLOCKINGglobal settings to decide if the queue should be BLOCKING or NON BLOCKING -
BOUNDED
public static boolean BOUNDEDglobal settings to decide if the queue should be BOUNDED or UNBOUNDED -
defaultBufferSize
public static int defaultBufferSizedefualt buffer size for BOUNDED queues, used if user left blank -
backOff
public static int backOffback off time used in case push or pop from a queue fail (non-blocking queues) Unit is nanoseconds -
serverPort
public static int serverPortlistening port used as a base for INPUT network queues. Every INPUT channel will listen on port = serverPort + channelId -
bufferedTCP
public static boolean bufferedTCPbuffering in TCP channels. True by default. Unbuffered behavior not advised.
-
-
Constructor Details
-
bb_settings
public bb_settings()
-