private final NotificationType type;
- protected ConfigJMXNotification(NotificationType type,
- NotificationBroadcasterSupport source, String message) {
+ protected ConfigJMXNotification(final NotificationType type,
+ final NotificationBroadcasterSupport source, final String message) {
super(type.toString(), source, sequenceNumber++, System.nanoTime(), message);
this.type = type;
}
* Creates notification about successful commit execution.
*
* Intended for config-persister.
- *
- * @param transactionName
- * @param cfgSnapshot
*/
- public static CommitJMXNotification afterCommit(NotificationBroadcasterSupport source, String messages) {
+ public static CommitJMXNotification afterCommit(final NotificationBroadcasterSupport source, final String messages) {
return new CommitJMXNotification(source, messages);
}
enum NotificationType {
- COMMIT;
+ COMMIT
}
}