java.lang.Object
org.xlattice.crypto.filters.BloomSHA1.Reset
Enclosing class:
BloomSHA1

public static final class BloomSHA1.Resetextends Object
A pre-zeroed bit array waiting to be installed, so the memset can happen away from the lock that guards the filter.
  • Field Details

    • bits

      private final int[] bits
      The filter words to restore.
  • Constructor Details

    • Reset

      private Reset(int[] bits)
      Builds the job restoring the filter.
      Parameters:
      bits - the filter words to restore