本文整理了Java中org.boon.Logger.fatal()
方法的一些代码示例,展示了Logger.fatal()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.fatal()
方法的具体详情如下:
包路径:org.boon.Logger
类名称:Logger
方法名:fatal
暂无
代码示例来源:origin: boonproject/boon
@Override
public void run() {
if (stop.get()) {
return;
}
try {
processReadQueue();
} catch (InterruptedException ex) {
//let it restart or stop
} catch (Exception ex) {
logger.fatal(ex, "Problem with base data store running scheduled job");
}
}
}, 0, dataStoreConfig.threadErrorResumeTimeMS(), TimeUnit.MILLISECONDS);
代码示例来源:origin: boonproject/boon
@Override
public void run() {
if (stop.get()) {
return;
}
try {
processWriteQueue();
} catch (InterruptedException ex) {
//let it restart or stop
} catch (Exception ex) {
logger.fatal(ex);
}
}
}, 0, dataStoreConfig.threadErrorResumeTimeMS(), TimeUnit.MILLISECONDS);
代码示例来源:origin: boonproject/boon
/**
* Like puts but for fatal logging.
*
* @param messages messages to write.
*/
public static void fatal(Object... messages) {
_log().fatal(messages);
}
代码示例来源:origin: boonproject/boon
/**
* Like puts but for warn exception logging.
*
* @param t throwable
* @param messages messages to write.
*/
public static void fatal(Throwable t, Object... messages) {
_log().fatal(t, messages);
}
代码示例来源:origin: boonproject/boon
/**
* Like puts but for fatal logging.
*
* @param messages messages to write.
*/
public static void fatal(Object... messages) {
_log().fatal(messages);
}
代码示例来源:origin: boonproject/boon
/**
* Like puts but for warn exception logging.
*
* @param t throwable
* @param messages messages to write.
*/
public static void fatal(Throwable t, Object... messages) {
_log().fatal(t, messages);
}
代码示例来源:origin: io.fastjson/boon
/**
* Like puts but for fatal logging.
*
* @param messages messages to write.
*/
public static void fatal(Object... messages) {
_log().fatal(messages);
}
代码示例来源:origin: io.fastjson/boon
/**
* Like puts but for warn exception logging.
*
* @param t throwable
* @param messages messages to write.
*/
public static void fatal(Throwable t, Object... messages) {
_log().fatal(t, messages);
}
代码示例来源:origin: boonproject/boon
private void handleRemove(List<DataStoreRequest> operations) {
for (DataStoreRequest dataItem : operations) {
if (dataItem instanceof RemoveRequest) {
RemoveRequest request = (RemoveRequest) dataItem;
if (hasBlackList) {
if (keyblackList.contains(request.key())) {
continue;
}
}
removeList.add(request.key());
if (removeList.size() >= maxWriteBatch) {
try {
writeQueue.put(outputMap);
removeList.clear();
} catch (Exception ex) {
logger.fatal(ex, "MySQL Store, Unable to add an item to the store queue for REMOVE, this means we can't write to MySQL",
removeList.size(), "queue size", writeQueue.size());
}
}
}
}
}
代码示例来源:origin: boonproject/boon
logger.fatal(ex, "MySQL Store, Unable to add an item to the store queue, this means we can't write to MySQL",
outputMap.size(), "queue size", writeQueue.size());
代码示例来源:origin: boonproject/boon
@Override
public Object parse( Reader reader ) {
if (reader instanceof StringReader) {
try {
String str = BeanUtils.idxStr(reader, "str");
int length = BeanUtils.idxInt(reader, "length");
int next = BeanUtils.idxInt(reader, "next");
if (str!= null && next == 0 && length == str.length()) {
return parse(str);
}
} catch (Exception ex) {
Boon.logger("JSON PARSER").fatal(ex);
}
}
characterSource = new ReaderCharacterSource ( reader );
return this.decodeValue ();
}
代码示例来源:origin: boonproject/boon
@Override
public Object parse( Reader reader ) {
if (reader instanceof StringReader) {
try {
String str = BeanUtils.idxStr(reader, "str");
int length = BeanUtils.idxInt(reader, "length");
int next = BeanUtils.idxInt(reader, "next");
if (str!= null && next == 0 && length == str.length()) {
return parse(str);
}
} catch (Exception ex) {
Boon.logger("JSON PARSER").fatal(ex);
}
}
characterSource = new ReaderCharacterSource ( reader );
return this.decodeValue ();
}
代码示例来源:origin: io.fastjson/boon
@Override
public Object parse( Reader reader ) {
if (reader instanceof StringReader) {
try {
String str = BeanUtils.idxStr(reader, "str");
int length = BeanUtils.idxInt(reader, "length");
int next = BeanUtils.idxInt(reader, "next");
if (str!= null && next == 0 && length == str.length()) {
return parse(str);
}
} catch (Exception ex) {
Boon.logger("JSON PARSER").fatal(ex);
}
}
characterSource = new ReaderCharacterSource ( reader );
return this.decodeValue ();
}
内容来源于网络,如有侵权,请联系作者删除!