Class HazelcastPayload.Bytes
- java.lang.Object
-
- fish.payara.persistence.eclipselink.cache.coordination.HazelcastPayload
-
- fish.payara.persistence.eclipselink.cache.coordination.HazelcastPayload.Bytes
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- HazelcastPayload
public static class HazelcastPayload.Bytes extends HazelcastPayload
Implements a payload for raw bytes to transfer.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fish.payara.persistence.eclipselink.cache.coordination.HazelcastPayload
HazelcastPayload.Bytes, HazelcastPayload.Command
-
-
Constructor Summary
Constructors Constructor Description Bytes(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.persistence.sessions.coordination.Command
getCommand(org.eclipse.persistence.sessions.coordination.RemoteCommandManager rcm)
Returns the serializedCommand
from the provided bytes.-
Methods inherited from class fish.payara.persistence.eclipselink.cache.coordination.HazelcastPayload
getId
-
-
-
-
Method Detail
-
getCommand
public org.eclipse.persistence.sessions.coordination.Command getCommand(org.eclipse.persistence.sessions.coordination.RemoteCommandManager rcm)
Returns the serializedCommand
from the provided bytes.- Specified by:
getCommand
in classHazelcastPayload
- Parameters:
rcm
- TheRemoteCommandManager
to use for serialization.- Returns:
- coordination command serialized from bytes.
-
-