Annotationsschnittstelle WriteBuffer


@Target(TYPE) @Retention(RUNTIME) public @interface WriteBuffer
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static enum 
    what to do when max buffer entries is reached WRITE_NEW: write newest entry (synchronous and not add to buffer) WRITE_OLD: write some old entries (and remove from buffer) DEL_OLD: remove old entries from buffer IGNORE_NEW: just ignore incoming JUST_WARN: increase buffer and warn about it
  • Optionale Elemente - Übersicht

    Optionale Elemente
    Modifizierer und Typ
    Optionales Element
    Beschreibung
    boolean
     
    int
    max size of write Buffer entries,0 means unlimited.
     
    int
    if 0 - use default timeout set in Morphium / morphiumConfig if -1: wait till buffer is full - does not make sense to use with DEL-Strategy
    boolean
     
  • Elementdetails

    • strategy

      Standard:
      WAIT
    • value

      boolean value
      Standard:
      true
    • ordered

      boolean ordered
      Standard:
      true
    • size

      int size
      max size of write Buffer entries,0 means unlimited. STRATEGY is meaningless then
      Gibt zurück:
      Standard:
      0
    • timeout

      int timeout
      if 0 - use default timeout set in Morphium / morphiumConfig if -1: wait till buffer is full - does not make sense to use with DEL-Strategy
      Gibt zurück:
      Standard:
      0