Package bbflow

Class bb_settings

java.lang.Object
bbflow.bb_settings

public class bb_settings extends Object
Global settings for the bbflow package
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
    back off time used in case push or pop from a queue fail (non-blocking queues) Unit is nanoseconds
    static boolean
    global settings to decide if the queue should be BLOCKING or NON BLOCKING
    static boolean
    global settings to decide if the queue should be BOUNDED or UNBOUNDED
    static boolean
    buffering in TCP channels.
    static int
    defualt buffer size for BOUNDED queues, used if user left blank
    static int
    listening port used as a base for INPUT network queues.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BLOCKING

      public static boolean BLOCKING
      global settings to decide if the queue should be BLOCKING or NON BLOCKING
    • BOUNDED

      public static boolean BOUNDED
      global settings to decide if the queue should be BOUNDED or UNBOUNDED
    • defaultBufferSize

      public static int defaultBufferSize
      defualt buffer size for BOUNDED queues, used if user left blank
    • backOff

      public static int backOff
      back off time used in case push or pop from a queue fail (non-blocking queues) Unit is nanoseconds
    • serverPort

      public static int serverPort
      listening port used as a base for INPUT network queues. Every INPUT channel will listen on port = serverPort + channelId
    • bufferedTCP

      public static boolean bufferedTCP
      buffering in TCP channels. True by default. Unbuffered behavior not advised.
  • Constructor Details

    • bb_settings

      public bb_settings()