Annotation Type WriteBuffer

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean ordered  
      int size
      max size of write Buffer entries,0 means unlimited.
      WriteBuffer.STRATEGY strategy  
      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
      boolean value  
    • Element Detail

      • strategy

        WriteBuffer.STRATEGY strategy
        Default:
        de.caluga.morphium.annotations.caching.WriteBuffer.STRATEGY.WAIT
      • value

        boolean value
        Default:
        true
      • ordered

        boolean ordered
        Default:
        true
      • size

        int size
        max size of write Buffer entries,0 means unlimited. STRATEGY is meaningless then
        Returns:
        Default:
        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
        Returns:
        Default:
        0