Interface IndexListener<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>


public interface IndexListener<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
  • Method Details

    • onPut

      void onPut(D databean, Config config)
    • onPutMulti

      void onPutMulti(Collection<D> databeans, Config config)
    • onDelete

      void onDelete(PK key, Config config)
    • onDeleteDatabean

      void onDeleteDatabean(D databean, Config config)
    • onDeleteMulti

      void onDeleteMulti(Collection<PK> keys, Config config)
    • onDeleteMultiDatabeans

      void onDeleteMultiDatabeans(Collection<D> databeans, Config config)
    • onDeleteAll

      void onDeleteAll(Config config)