Code example for AtomicInteger

Methods: set

0
            throw new IllegalArgumentException("Unsupported message type");
        } 
    } 
 
    public static void resetProcessedMessages() { 
        processedMessages.set(0);
    } 
 
}