| Modifier and Type | Method and Description |
|---|---|
GridLogger |
GridTcpRouterConfiguration.getLogger()
Gets logger for the router instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridTcpRouterConfiguration.setLogger(GridLogger log)
Sets logger for the router instance.
|
| Modifier and Type | Method and Description |
|---|---|
GridLogger |
GridConfiguration.getGridLogger()
Should return an instance of logger to use in grid.
|
GridLogger |
Grid.log()
Gets grid's logger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridConfiguration.setGridLogger(GridLogger log)
Sets logger to use within grid.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridLoggerProxy |
| Modifier and Type | Method and Description |
|---|---|
GridLogger |
GridLoggerProxy.getLogger(Object ctgr)
Creates new logger with given category based off the current instance.
|
GridLogger |
GridKernalContextImpl.log()
Gets logger.
|
GridLogger |
GridKernalContext.log()
Gets logger.
|
GridLogger |
GridKernal.log()
Gets grid's logger.
|
GridLogger |
GridKernalContextImpl.log(Class<?> cls)
Gets logger for given class.
|
GridLogger |
GridKernalContext.log(Class<?> cls)
Gets logger for given class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridPerformanceSuggestions.logSuggestions(GridLogger log,
String gridName) |
| Constructor and Description |
|---|
GridLoggerProxy(GridLogger impl,
Object ctgr,
String gridName,
String id8) |
| Constructor and Description |
|---|
GridExecutorService(GridProjection prj,
GridLogger log)
Creates executor service.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridLogger |
GridManagerAdapter.log
Logger.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridLogger |
GridProcessorAdapter.log
Grid logger.
|
| Modifier and Type | Field and Description |
|---|---|
protected static GridLogger |
GridCacheEvictionEntry.log
Logger.
|
protected static GridLogger |
GridCacheMapEntry.log
Logger.
|
protected GridLogger |
GridCacheClearAllRunnable.log
Logger.
|
protected static GridLogger |
GridCacheTxAdapter.log
Logger.
|
protected GridLogger |
GridCacheAdapter.log
Logger.
|
protected GridLogger |
GridCacheManagerAdapter.log
Logger.
|
protected GridLogger |
GridCachePreloaderAdapter.log
Logger.
|
| Modifier and Type | Field and Description |
|---|---|
protected static AtomicReference<GridLogger> |
GridCacheMapEntry.logRef
Static logger to avoid re-creation.
|
| Modifier and Type | Method and Description |
|---|---|
protected GridLogger |
GridCacheTxAdapter.log() |
protected GridLogger |
GridCacheAdapter.log() |
protected GridLogger |
GridCacheManagerAdapter.log() |
GridLogger |
GridCacheContext.logger(Class<?> cls) |
GridLogger |
GridCacheContext.logger(String ctgr) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GridCacheUtils.checkAttributeMismatch(GridLogger log,
GridCacheConfiguration locCfg,
GridCacheConfiguration rmtCfg,
GridNode rmt,
T2<String,String> attr,
boolean fail)
Checks that local and remove configurations have the same value of given attribute.
|
static void |
GridCacheUtils.checkAttributeMismatch(GridLogger log,
String cfgName,
GridNode rmt,
String attrName,
String attrMsg,
Object locVal,
Object rmtVal,
boolean fail)
Checks that cache configuration attribute has the same value in local and remote cache configurations.
|
boolean |
GridCacheContext.dhtMap(UUID nearNodeId,
long topVer,
GridDhtCacheEntry<K,V> entry,
GridLogger log,
Map<GridNode,List<GridDhtCacheEntry<K,V>>> dhtMap,
Map<GridNode,List<GridDhtCacheEntry<K,V>>> nearMap) |
static GridInClosure<GridFuture<?>> |
GridCacheUtils.errorLogger(GridLogger log,
Class<? extends Exception>... excl) |
static void |
GridCacheUtils.validateCacheKey(GridLogger log,
Object key)
Validates that cache key object has overridden equals and hashCode methods and
implements
Externalizable. |
static void |
GridCacheUtils.validateCacheValue(GridLogger log,
Object val)
Validates that cache value object implements
Externalizable. |
| Constructor and Description |
|---|
GridCacheWriteBehindStore(String gridName,
String cacheName,
GridLogger log,
GridCacheStore<K,V> store)
Creates a write-behind cache store for the given store and cache name.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridLogger |
GridCacheQueueAdapter.log
Logger.
|
| Modifier and Type | Field and Description |
|---|---|
protected static GridLogger |
GridNearAtomicUpdateFuture.log
Logger.
|
protected static GridLogger |
GridDhtAtomicUpdateFuture.log
Logger.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridLogger |
GridCacheQueryFutureAdapter.log
Logger.
|
| Constructor and Description |
|---|
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridPredicate<GridCacheEntry<Object,Object>> prjPred,
GridCacheQueryType type,
GridLogger log,
int pageSize,
long timeout,
boolean keepAll,
boolean incBackups,
boolean dedup,
GridProjection prj,
GridBiPredicate<Object,Object> filter,
Class<?> cls,
String clause,
boolean incMeta) |
| Constructor and Description |
|---|
GridResourceLoggerInjector(GridLogger rsrc) |
| Modifier and Type | Field and Description |
|---|---|
protected GridLogger |
GridRestCommandHandlerAdapter.log
Log.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridLogger |
GridRestProtocolAdapter.log
Logger.
|
| Constructor and Description |
|---|
GridTcpMemcachedNioListener(GridLogger log,
GridRestProtocolHandler hnd,
GridKernalContext ctx)
Creates listener which will convert incoming tcp packets to rest requests and forward them to
a given rest handler.
|
GridTcpRestNioListener(GridLogger log,
GridTcpRestProtocol proto,
GridRestProtocolHandler hnd,
GridKernalContext ctx,
GridClientMarshaller protobufMarshaller)
Creates listener which will convert incoming tcp packets to rest requests and forward them to
a given rest handler.
|
GridTcpRestParser(GridLogger log) |
| Modifier and Type | Method and Description |
|---|---|
String |
GridSpringProcessor.userVersion(ClassLoader ldr,
GridLogger log)
Gets user version for given class loader by checking
META-INF/gridgain.xml file for userVersion attribute. |
| Modifier and Type | Field and Description |
|---|---|
protected GridLogger |
VisorJob.log |
| Modifier and Type | Method and Description |
|---|---|
GridLogger |
GridLogger.getLogger(Object ctgr)
Creates new logger with given category based off the current instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridJavaLogger
Logger to use with Java logging.
|
| Modifier and Type | Method and Description |
|---|---|
GridLogger |
GridJavaLogger.getLogger(Object ctgr)
Creates new logger with given category based off the current instance.
|
| Constructor and Description |
|---|
GridSpiThread(String gridName,
String name,
GridLogger log)
Creates thread with given
name. |
GridSpiThreadFactory(String gridName,
String threadName,
GridLogger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridTcpDiscoveryNode.logger(GridLogger log)
Sets log.
|
| Modifier and Type | Method and Description |
|---|---|
static GridLogger |
GridUtils.logger(GridKernalContext ctx,
AtomicReference<GridLogger> logRef,
Class<?> cls)
Initializes logger into/from log reference passed in.
|
static GridLogger |
GridUtils.logger(GridKernalContext ctx,
AtomicReference<GridLogger> logRef,
Object obj)
Initializes logger into/from log reference passed in.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
GridUtils.addLastCause(Throwable e,
Throwable cause,
GridLogger log)
Adds cause to the end of cause chain.
|
static void |
GridUtils.asyncLogError(GridFuture<?> f,
GridLogger log)
Adds listener to asynchronously log errors.
|
static void |
GridUtils.close(AbstractInterruptibleChannel rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Closeable rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Connection rsrc,
GridLogger log)
Closes JDBC connection logging possible checked exception.
|
static void |
GridUtils.close(Context rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Reader rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(ResultSet rsrc,
GridLogger log)
Closes JDBC result set logging possible checked exception.
|
static void |
GridUtils.close(SelectionKey rsrc,
GridLogger log)
Closes given resource logging possible checked exceptions.
|
static void |
GridUtils.close(Selector rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(ServerSocket rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Socket rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.close(Statement rsrc,
GridLogger log)
Closes JDBC statement logging possible checked exception.
|
static void |
GridUtils.close(URLClassLoader clsLdr,
GridLogger log)
Closes class loader logging possible checked exception.
|
static void |
GridUtils.close(ZipFile rsrc,
GridLogger log)
Closes given resource logging possible checked exception.
|
static void |
GridUtils.courtesy(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given messages as
quiet message or normal log WARN message in
org.gridgain.grid.CourtesyConfigNotice
category. |
static void |
GridUtils.courtesy(GridLogger log,
Object longMsg,
Object shortMsg)
Depending on whether or not log is provided and quiet mode is enabled logs given messages as
quiet message or normal log WARN message in
org.gridgain.grid.CourtesyConfigNotice
category. |
static GridClientMarshaller |
GridUtils.createProtobufMarshaller(GridLogger log)
Creates new instance of Protobuf marshaller.
|
static void |
GridUtils.debug(GridLogger log,
String msg)
Deprecated.
Calls to this method should never be committed to master.
|
static void |
GridUtils.debugStack(GridLogger log,
String msg)
Deprecated.
Calls to this method should never be committed to master.
|
static void |
GridUtils.dumpStack(GridLogger log,
String msg) |
static void |
GridUtils.dumpThreads(GridLogger log)
Performs thread dump and prints all available info to the given log.
|
static void |
GridUtils.error(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log ERROR message.
|
static void |
GridUtils.error(GridLogger log,
Object longMsg,
Object shortMsg,
Throwable e)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log ERROR message.
|
static void |
GridUtils.error(GridLogger log,
Object shortMsg,
Throwable e)
Shortcut for
GridUtils.error(GridLogger, Object, Object, Throwable). |
static void |
GridLogThrottle.error(GridLogger log,
Throwable e,
String msg)
Logs error if needed.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
GridLogger log,
GridInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
static void |
GridLogThrottle.info(GridLogger log,
String msg)
Logs info if needed.
|
static boolean |
GridUtils.join(GridWorker w,
GridLogger log)
Joins runnable.
|
static boolean |
GridUtils.join(Iterable<? extends GridWorker> ws,
GridLogger log)
Joins given collection of runnables.
|
static boolean |
GridUtils.join(Thread t,
GridLogger log)
Waits for completion of a given thread.
|
static boolean |
GridUtils.joinThreads(Iterable<? extends Thread> workers,
GridLogger log)
Waits for completion of a given threads.
|
static void |
GridUtils.log(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log INF0 message.
|
static void |
GridUtils.log(GridLogger log,
Object longMsg,
Object shortMsg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log INFO message.
|
static void |
GridUtils.quietAndInfo(GridLogger log,
String msg)
Prints out the message in quite and info modes.
|
static void |
GridUtils.quietAndWarn(GridLogger log,
Object msg)
Logs warning message in both verbose and quite modes.
|
static void |
GridUtils.quietAndWarn(GridLogger log,
Object msg,
Object shortMsg)
Logs warning message in both verbose and quite modes.
|
static void |
GridUtils.rollbackConnection(Connection rsrc,
GridLogger log)
Rollbacks JDBC connection logging possible checked exception.
|
static void |
GridUtils.shutdownNow(Class<?> owner,
ExecutorService exec,
GridLogger log)
Shutdowns given
ExecutorService and wait for executor service to stop. |
static void |
GridUtils.stopLifecycleAware(GridLogger log,
Iterable<?> objs)
For each object provided by the given
Iterable checks if it implements
GridLifecycleAware interface and executes GridLifecycleAware.stop() method. |
static void |
GridUtils.unzip(File zipFile,
File toDir,
GridLogger log)
Unzip file to folder.
|
static void |
GridUtils.warn(GridLogger log,
Object msg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log WARN message.
|
static void |
GridUtils.warn(GridLogger log,
Object longMsg,
Object shortMsg)
Depending on whether or not log is provided and quiet mode is enabled logs given
messages as quiet message or normal log WARN message.
|
static void |
GridLogThrottle.warn(GridLogger log,
Throwable e,
String msg)
Logs warning if needed.
|
static void |
GridLogThrottle.warn(GridLogger log,
Throwable e,
String longMsg,
String shortMsg)
Logs warning if needed.
|
| Modifier and Type | Method and Description |
|---|---|
static GridLogger |
GridUtils.logger(GridKernalContext ctx,
AtomicReference<GridLogger> logRef,
Class<?> cls)
Initializes logger into/from log reference passed in.
|
static GridLogger |
GridUtils.logger(GridKernalContext ctx,
AtomicReference<GridLogger> logRef,
Object obj)
Initializes logger into/from log reference passed in.
|
| Modifier and Type | Field and Description |
|---|---|
protected static GridLogger |
GridFutureAdapter.log
Logger.
|
| Modifier and Type | Method and Description |
|---|---|
static GridIpcEndpoint |
GridIpcEndpointFactory.connectEndpoint(String endpointAddr,
GridLogger log)
Connects to open server IPC endpoint.
|
| Constructor and Description |
|---|
GridIpcToNioAdapter(GridNioMetricsListener metricsLsnr,
GridLogger log,
GridIpcEndpoint endp,
GridNioMessageWriter msgWriter,
GridNioServerListener<T> lsnr,
GridNioFilter... filters) |
| Constructor and Description |
|---|
GridIpcSharedMemoryClientEndpoint(GridIpcSharedMemorySpace inSpace,
GridIpcSharedMemorySpace outSpace,
GridLogger parent)
Creates connected client IPC endpoint.
|
GridIpcSharedMemoryClientEndpoint(int port,
GridLogger parent)
Creates and connects client IPC endpoint and starts background checker thread to avoid deadlocks on other party
crash.
|
GridIpcSharedMemoryClientEndpoint(int port,
int timeout,
GridLogger parent)
Creates and connects client IPC endpoint and starts background checker thread to avoid deadlocks on other party
crash.
|
GridIpcSharedMemoryServerEndpoint(GridLogger log,
UUID locNodeId,
String gridName)
Constructor to set dependencies explicitly.
|
GridIpcSharedMemorySpace(String tokFileName,
int writerPid,
int readerPid,
int size,
boolean reader,
GridLogger parent)
This will allocate system resources for the space.
|
GridIpcSharedMemorySpace(String tokFileName,
int writerPid,
int readerPid,
int size,
boolean reader,
int shmemId,
GridLogger parent)
This should be called in order to attach to already allocated system resources.
|
| Modifier and Type | Method and Description |
|---|---|
GridNioServer.Builder<T> |
GridNioServer.Builder.logger(GridLogger log) |
| Constructor and Description |
|---|
GridConnectionBytesVerifyFilter(GridLogger log)
Creates a filter instance.
|
GridNioAsyncNotifyFilter(String gridName,
Executor exec,
GridLogger log)
Assigns filter name to a filter.
|
GridNioCodecFilter(GridNioParser parser,
GridLogger log,
boolean directMode)
Creates a codec filter.
|
GridNioFilterChain(GridLogger log,
GridNioServerListener<T> lsnr,
GridNioFilter head,
GridNioFilter... filters)
Constructor.
|
GridShmemCommunicationClient(GridNioMetricsListener metricsLsnr,
int port,
long connTimeout,
GridLogger log,
GridNioMessageWriter msgWriter) |
| Constructor and Description |
|---|
GridNioSslFilter(SSLContext sslCtx,
GridLogger log)
Creates SSL filter.
|
| Modifier and Type | Method and Description |
|---|---|
GridLogger |
GridRemoteStartSpecification.logger() |
| Constructor and Description |
|---|
GridRemoteStartSpecification(String host,
int port,
String uname,
String passwd,
File key,
int nodes,
String ggHome,
String cfg,
String script,
GridLogger logger) |
| Modifier and Type | Field and Description |
|---|---|
protected static GridLogger |
GridWorker.log
Grid logger.
|
| Constructor and Description |
|---|
GridWorker(String gridName,
String name,
GridLogger log)
Creates new grid worker with given parameters.
|
GridWorker(String gridName,
String name,
GridLogger log,
GridWorkerListener lsnr)
Creates new grid worker with given parameters.
|
GridWorkerPool(Executor exec,
GridLogger log) |
Copyright © 2014. All rights reserved.