Interface PostgreSqlNotificationListener

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 PostgreSqlNotificationListener
在专用串行回调线程执行;不调用 Bukkit,也不得阻塞等待本会话关闭。
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onFailure(Throwable failure, boolean terminal)
     
    default void
    onListening(long generation)
     
    void
    onNotification(me.kzheart.klib.data.postgresql.PostgreSqlNotification notification)
     
  • Method Details

    • onNotification

      void onNotification(me.kzheart.klib.data.postgresql.PostgreSqlNotification notification)
    • onListening

      default void onListening(long generation)
    • onFailure

      default void onFailure(Throwable failure, boolean terminal)