All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.avaje.json.stream.BufferRecycleStrategy Maven / Gradle / Ivy

There is a newer version: 3.0-RC5
Show newest version
package io.avaje.json.stream;

/** Strategy for recycling buffers used in parsing and generation. */
public enum BufferRecycleStrategy {

  /** Do not perform any sort of recycling. */
  NO_RECYCLING,
  /** A lock free implementation designed for virtual thread use */
  LOCK_FREE,
  /** Use Thread Locals for recycling buffers */
  THREAD_LOCAL,
  /** Use 2 recyclers and switch between them depending on the nature of thread (virtual or not) */
  HYBRID_POOL;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy