Code example for Cache

Methods: invalidateAll

0
 
    @Override 
    public void onDisconnect(BinaryLogClient client) { 
        LOGGER.info("Disconnected from MySQL as a slave"); 
        connected = false; 
        cache.invalidateAll(); 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java