public enum TransmissionPolicy extends Enum<TransmissionPolicy>
GridIoManager.TransmissionSender| Enum Constant and Description |
|---|
CHUNK
A file which is considered to be sent through
GridIoManager.TransmissionSenders session will use
the TransmissionHandler.chunkHandler(UUID, TransmissionMeta) of TransmissionHandler
to handle transmitted binary data. |
FILE
A file which is considered to be sent through
GridIoManager.TransmissionSenders session will use
the TransmissionHandler.fileHandler(UUID, TransmissionMeta) of TransmissionHandler
to handle transmitted binary data. |
| Modifier and Type | Method and Description |
|---|---|
static TransmissionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransmissionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransmissionPolicy FILE
GridIoManager.TransmissionSenders session will use
the TransmissionHandler.fileHandler(UUID, TransmissionMeta) of TransmissionHandler
to handle transmitted binary data.public static final TransmissionPolicy CHUNK
GridIoManager.TransmissionSenders session will use
the TransmissionHandler.chunkHandler(UUID, TransmissionMeta) of TransmissionHandler
to handle transmitted binary data. This file will be processed by chunks of handlers defined size.public static TransmissionPolicy[] values()
for (TransmissionPolicy c : TransmissionPolicy.values()) System.out.println(c);
public static TransmissionPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020