Class GammaTxnPool

    • Constructor Detail

      • GammaTxnPool

        public GammaTxnPool()
    • Method Detail

      • takeFatMono

        public FatMonoGammaTxn takeFatMono()
        Takes a FatMonoGammaTxn from the pool.
        Returns:
        the taken FatMonoGammaTxn or null of none available.
      • takeFatFixedLength

        public FatFixedLengthGammaTxn takeFatFixedLength()
        Takes a FatArrayGammaTxn from the pool.
        Returns:
        the taken FatArrayGammaTxn or null of none available.
      • takeLeanMono

        public LeanMonoGammaTxn takeLeanMono()
        Takes a FatMonoGammaTxn from the pool.
        Returns:
        the taken FatMonoGammaTxn or null of none available.
      • takeLeanFixedLength

        public LeanFixedLengthGammaTxn takeLeanFixedLength()
        Takes a FatArrayGammaTxn from the pool.
        Returns:
        the taken FatArrayGammaTxn or null of none available.
      • takeMap

        public FatVariableLengthGammaTxn takeMap()
        Takes a FatArrayTreeGammaTxn from the pool.
        Returns:
        the taken FatArrayTreeGammaTxn or null of none available.
      • put

        public void put​(GammaTxn tx)
        Puts a GammaTxn in the pool.
        Parameters:
        tx - the GammaTxn to put in the pool.
        Throws:
        java.lang.NullPointerException - if tx is null.