N
- public interface WorkerController<N extends Node>
Modifier and Type | Method and Description |
---|---|
void |
error(com.levigo.util.log.qualified.MessageID messageId,
Object... args)
Emit a non-fatal error to be ultimately propagated to
JobListener . |
void |
error(com.levigo.util.log.qualified.MessageID messageId,
Throwable cause,
Object... args)
Emit a non-fatal error to be ultimately propagated to
JobListener . |
void |
error(com.levigo.util.log.qualified.QualifiedLogEvent event)
Emit a non-fatal error to be ultimately propagated to
JobListener . |
void |
fail(com.levigo.util.log.qualified.MessageID messageId,
Object... args)
Make the worker (and subsequently the node) fail due to the specified reason.
|
void |
fail(com.levigo.util.log.qualified.MessageID messageId,
Throwable cause,
Object... args)
Make the worker (and subsequently the node) fail due to the specified reason.
|
void |
fail(com.levigo.util.log.qualified.QualifiedLogEvent event)
Make the worker (and subsequently the node) fail due to the specified reason.
|
N |
getNode()
Get the
Node . |
ServerJob |
getServerJob()
Get the
ServerJob associated with this worker controller. |
void |
warn(com.levigo.util.log.qualified.MessageID messageId,
Object... args)
Emit a warning to be ultimately propagated to
JobListener . |
void |
warn(com.levigo.util.log.qualified.MessageID messageId,
Throwable cause,
Object... args)
Emit a warning to be ultimately propagated to
JobListener . |
void |
warn(com.levigo.util.log.qualified.QualifiedLogEvent event)
Emit a warning to be ultimately propagated to
JobListener . |
void warn(com.levigo.util.log.qualified.QualifiedLogEvent event)
JobListener
.event
- the reason of the warningvoid warn(com.levigo.util.log.qualified.MessageID messageId, Throwable cause, Object... args)
JobListener
.messageId
- The messageID of the reasoncause
- a Throwable that caused the warningargs
- optional arguments that will be resolved in an QualifiedLogEvent
void warn(com.levigo.util.log.qualified.MessageID messageId, Object... args)
JobListener
.messageId
- The messageID of the reasonargs
- optional arguments that will be resolved in an QualifiedLogEvent
void error(com.levigo.util.log.qualified.QualifiedLogEvent event)
JobListener
.event
- the reason of the errorvoid error(com.levigo.util.log.qualified.MessageID messageId, Throwable cause, Object... args)
JobListener
.messageId
- The messageID of the reasoncause
- a Throwable that caused the errorargs
- optional arguments that will be resolved in an QualifiedLogEvent
void error(com.levigo.util.log.qualified.MessageID messageId, Object... args)
JobListener
.messageId
- The messageID of the reasonargs
- optional arguments that will be resolved in an QualifiedLogEvent
void fail(com.levigo.util.log.qualified.QualifiedLogEvent event)
event
- the reason of the failurevoid fail(com.levigo.util.log.qualified.MessageID messageId, Throwable cause, Object... args)
messageId
- The messageID of the reasoncause
- a Throwable that caused the failureargs
- optional arguments that will be resolved in an QualifiedLogEvent
void fail(com.levigo.util.log.qualified.MessageID messageId, Object... args)
messageId
- The messageID of the reasonargs
- optional arguments that will be resolved in an QualifiedLogEvent
Copyright © 2017 levigo holding gmbh. All rights reserved.