java.lang.Object | |
↳ | org.apache.helix.util.StatusUpdateUtil |
Util class to create statusUpdates ZK records and error ZK records. These message records are for diagnostics only, and they are stored on the "StatusUpdates" and "errors" ZNodes in the zookeeper instances.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StatusUpdateUtil.Level | |||||||||||
StatusUpdateUtil.StatusUpdateContents | |||||||||||
StatusUpdateUtil.TaskStatus | |||||||||||
StatusUpdateUtil.Transition |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an empty ZNRecord as the statusUpdate/error record
| |||||||||||
Create a statusupdate that is related to a cluster manager message.
| |||||||||||
Create a statusupdate that is related to a cluster manager message, then record it to
the zookeeper store.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates an empty ZNRecord as the statusUpdate/error record
Create a statusupdate that is related to a cluster manager message.
message | the related cluster manager message |
---|---|
level | the error level |
classInfo | class info about the class that reports the status update |
Create a statusupdate that is related to a cluster manager message, then record it to the zookeeper store.
message | the related cluster manager message |
---|---|
level | the error level |
classInfo | class info about the class that reports the status update |
accessor | the zookeeper data accessor that writes the status update to zookeeper |