Class CacheEventHelper

  • All Implemented Interfaces:

    
    public class CacheEventHelper
    
                        
    Since:

    2022-04-20

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • CacheEventHelper

        CacheEventHelper()
    • Method Detail

      • receiveTable

         static String receiveTable(TableChangeEvent event, Collection<out CharSequence> tables)

        Check if the table name of event is in the tables collection

        Parameters:
        event - Get the table name
        tables - Check if the table name is in the tables collection
        Returns:

        table name

      • receiveTable

         static String receiveTable(TableChangeEvent event, Collection<out CharSequence> tables, int change)

        Check if the table name of event is in the tables collection, and the change type must match.

        Parameters:
        event - Get the table name
        tables - Check if the table name is in the tables collection
        change - change type DELETE
        Returns:

        table name