public class SystemLogService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SystemLogService.Level |
Constructor and Description |
---|
SystemLogService(Node node) |
Modifier and Type | Method and Description |
---|---|
String |
dump() |
CallState |
getCallState(Address callerAddress,
int callerThreadId) |
CallState |
getCallStateForCallId(long callId,
Address callerAddress,
int callerThreadId) |
String |
getCurrentLevel() |
List<SystemLogRecord> |
getLogBundle() |
CallState |
getOrCreateCallState(long callId,
Address callerAddress,
int callerThreadId) |
void |
info(CallStateAware callStateAware,
String msg) |
void |
info(CallStateAware callStateAware,
String msg,
Object arg1) |
void |
info(CallStateAware callStateAware,
String msg,
Object arg1,
Object arg2) |
void |
info(CallStateAware callStateAware,
SystemLog callStateLog) |
void |
logConnection(String str) |
void |
logJoin(String str) |
void |
logNode(String str) |
void |
logObject(CallStateAware callStateAware,
SystemLogService.Level level,
Object obj) |
void |
logPartition(String str) |
void |
logState(CallStateAware callStateAware,
SystemLogService.Level level,
SystemLog callStateLog) |
void |
setCurrentLevel(String level) |
boolean |
shouldInfo() |
boolean |
shouldLog(SystemLogService.Level level) |
boolean |
shouldTrace() |
void |
shutdown() |
void |
trace(CallStateAware callStateAware,
String msg) |
void |
trace(CallStateAware callStateAware,
String msg,
Object arg1) |
void |
trace(CallStateAware callStateAware,
String msg,
Object arg1,
Object arg2) |
void |
trace(CallStateAware callStateAware,
SystemLog callStateLog) |
public SystemLogService(Node node)
public String getCurrentLevel()
public void setCurrentLevel(String level)
public List<SystemLogRecord> getLogBundle()
public CallState getOrCreateCallState(long callId, Address callerAddress, int callerThreadId)
public CallState getCallStateForCallId(long callId, Address callerAddress, int callerThreadId)
public void shutdown()
public String dump()
public void logConnection(String str)
public void logPartition(String str)
public void logNode(String str)
public void logJoin(String str)
public boolean shouldLog(SystemLogService.Level level)
public boolean shouldTrace()
public boolean shouldInfo()
public void info(CallStateAware callStateAware, SystemLog callStateLog)
public void trace(CallStateAware callStateAware, SystemLog callStateLog)
public void info(CallStateAware callStateAware, String msg)
public void trace(CallStateAware callStateAware, String msg)
public void info(CallStateAware callStateAware, String msg, Object arg1)
public void info(CallStateAware callStateAware, String msg, Object arg1, Object arg2)
public void trace(CallStateAware callStateAware, String msg, Object arg1)
public void trace(CallStateAware callStateAware, String msg, Object arg1, Object arg2)
public void logObject(CallStateAware callStateAware, SystemLogService.Level level, Object obj)
public void logState(CallStateAware callStateAware, SystemLogService.Level level, SystemLog callStateLog)
Copyright © 2013 Hazelcast, Inc.. All rights reserved.