Skip to content

Commit

Permalink
StatsType add lombok annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-landiak committed Jan 10, 2025
1 parent adf8792 commit 6670f4a
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
*/
package org.thingsboard.mqtt.broker.service.stats;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@Getter
public enum StatsType {

MSG_DISPATCHER_PRODUCER("incomingPublishMsg.published"),
CLIENT_SESSION_EVENT_CONSUMER("clientSessionEvent"),
PUBLISH_MSG_CONSUMER("incomingPublishMsg.consumed"),
Expand Down Expand Up @@ -52,11 +58,4 @@ public enum StatsType {

private final String printName;

StatsType(String printName) {
this.printName = printName;
}

public String getPrintName() {
return printName;
}
}

0 comments on commit 6670f4a

Please sign in to comment.