Class CacheEventHelper
-
- All Implemented Interfaces:
public class CacheEventHelper- Since:
2022-04-20
trydofor
-
-
Constructor Summary
Constructors Constructor Description CacheEventHelper()
-
Method Summary
Modifier and Type Method Description static StringreceiveTable(TableChangeEvent event, Collection<out CharSequence> tables)Check if the table name of event is in the tables collection static StringreceiveTable(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. -
-
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 nametables- 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 nametables- Check if the table name is in the tables collectionchange- change type DELETE- Returns:
table name
-
-
-
-