Class HashHandler.ProbeHandler

java.lang.Object
io.deephaven.engine.table.impl.by.HashHandler.ProbeHandler
All Implemented Interfaces:
HashHandler
Enclosing interface:
HashHandler

public abstract static class HashHandler.ProbeHandler extends Object implements HashHandler
When probing, these operations are never invoked. Extending this class makes it simpler to have a probe only callback.
  • Constructor Details

    • ProbeHandler

      public ProbeHandler()
  • Method Details

    • doMainInsert

      public final void doMainInsert(int tableLocation, int chunkPosition)
      Description copied from interface: HashHandler
      Called after a value is inserted into the main hash table
      Specified by:
      doMainInsert in interface HashHandler
      Parameters:
      tableLocation - location of insertion
      chunkPosition - the position in the chunk
    • doOverflowInsert

      public final void doOverflowInsert(int overflowLocation, int chunkPosition)
      Description copied from interface: HashHandler
      Called after a value is inserted into the overflow hash table
      Specified by:
      doOverflowInsert in interface HashHandler
      Parameters:
      overflowLocation - location of insertion
      chunkPosition - the position in the chunk
    • doMoveMain

      public final void doMoveMain(int oldTableLocation, int newTableLocation)
      Description copied from interface: HashHandler
      Called during rehash when a value is moved in the main table
      Specified by:
      doMoveMain in interface HashHandler
      Parameters:
      oldTableLocation - the old location in the main table
      newTableLocation - the new location in the main table
    • doPromoteOverflow

      public final void doPromoteOverflow(int overflowLocation, int mainInsertLocation)
      Description copied from interface: HashHandler
      Called during rehash when a value is promoted from overflow to the main table
      Specified by:
      doPromoteOverflow in interface HashHandler
      Parameters:
      overflowLocation - the old location in the overflow table
      mainInsertLocation - the new location in the main table