public class MDCLoggingContext extends Object
clear()
. Always call setCore(SolrCore)
or
setCoreDescriptor(CoreContainer, CoreDescriptor)
and then clear()
in a finally block.Constructor and Description |
---|
MDCLoggingContext() |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
static void |
reset() |
static void |
setCollection(String collection) |
static void |
setCore(SolrCore core) |
static void |
setCoreDescriptor(CoreContainer coreContainer,
CoreDescriptor cd) |
static void |
setCoreName(String core) |
static void |
setNode(CoreContainer cc) |
static void |
setNode(String node) |
static void |
setReplica(String replica) |
static void |
setShard(String shard) |
public static void setCollection(String collection)
public static void setShard(String shard)
public static void setReplica(String replica)
public static void setCoreName(String core)
public static void setNode(CoreContainer cc)
public static void setNode(String node)
public static void setCore(SolrCore core)
public static void setCoreDescriptor(CoreContainer coreContainer, CoreDescriptor cd)
public static void clear()
public static void reset()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.