Interface LocalConnectionCache


public interface LocalConnectionCache
Implementations of ConnectionCache that rely on ThreadLocal.
Author:
Luis Barreiro
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    fixed(int size)
    A local cache that stores up to a number of connections.
    A local cache that stores all connections
    A local cache that stores at most a single connection.
  • Method Details

    • single

      static ConnectionCache single()
      A local cache that stores at most a single connection.
    • fixed

      static ConnectionCache fixed(int size)
      A local cache that stores up to a number of connections.
    • full

      static ConnectionCache full()
      A local cache that stores all connections