Interface FlushListener

All Superinterfaces:
EventListener, ObjectListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FlushListener extends ObjectListener
Redisson Object Event listener for flush event published by Redis.

Requires Redis 6.0+

Author:
Nikita Koksharov
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when `flushdb` or `flushall` command was executed on Redis node.
  • Method Details

    • onFlush

      void onFlush(InetSocketAddress address)
      Invoked when `flushdb` or `flushall` command was executed on Redis node.
      Parameters:
      address -