public class MarshallerUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLS_NAMES_FILE
Class names file.
|
static String |
JDK_CLS_NAMES_FILE
Jdk class names file.
|
Modifier and Type | Method and Description |
---|---|
static IgnitePredicate<String> |
classNameFilter(ClassLoader clsLdr)
Returns class name filter for marshaller.
|
static JdkMarshaller |
jdkMarshaller(@Nullable String nodeName)
Create JDK marshaller with provided node name.
|
static IgniteProductVersion |
jobReceiverVersion()
Returns thread local job receiver node version.
|
static void |
jobReceiverVersion(IgniteProductVersion ver)
Sets thread local job receiver node version.
|
static IgniteProductVersion |
jobSenderVersion()
Returns thread local job sender node version.
|
static void |
jobSenderVersion(IgniteProductVersion ver)
Sets thread local job sender node version.
|
static void |
setNodeName(Marshaller marsh,
@Nullable String nodeName)
Set node name to marshaller context if possible.
|
public static final String JDK_CLS_NAMES_FILE
public static final String CLS_NAMES_FILE
public static void setNodeName(Marshaller marsh, @Nullable @Nullable String nodeName)
marsh
- Marshaller instance.nodeName
- Node name.public static JdkMarshaller jdkMarshaller(@Nullable @Nullable String nodeName)
nodeName
- Node name.public static void jobSenderVersion(IgniteProductVersion ver)
ver
- Thread local job sender node version.public static IgniteProductVersion jobSenderVersion()
public static void jobReceiverVersion(IgniteProductVersion ver)
ver
- Thread local job receiver node version.public static IgniteProductVersion jobReceiverVersion()
public static IgnitePredicate<String> classNameFilter(ClassLoader clsLdr) throws IgniteCheckedException
IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019