public final class CommandInvocationId extends Object
It is used to lock the key for a specific command.
This class is final to prevent issues as it is usually not marshalled
as polymorphic object but directly using writeTo(ObjectOutput, CommandInvocationId)
and readFrom(ObjectInput)
.
Modifier and Type | Field and Description |
---|---|
static CommandInvocationId |
DUMMY_INVOCATION_ID |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static CommandInvocationId |
generateId(Address address) |
static CommandInvocationId |
generateIdFrom(CommandInvocationId commandInvocationId) |
Address |
getAddress() |
long |
getId() |
int |
hashCode() |
static CommandInvocationId |
readFrom(ObjectInput input) |
static String |
show(CommandInvocationId id) |
String |
toString() |
static void |
writeTo(ObjectOutput output,
CommandInvocationId commandInvocationId) |
public static final CommandInvocationId DUMMY_INVOCATION_ID
public static CommandInvocationId generateId(Address address)
public static CommandInvocationId generateIdFrom(CommandInvocationId commandInvocationId)
public static void writeTo(ObjectOutput output, CommandInvocationId commandInvocationId) throws IOException
IOException
public static CommandInvocationId readFrom(ObjectInput input) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
public long getId()
public Address getAddress()
public static String show(CommandInvocationId id)
Copyright © 2021 JBoss by Red Hat. All rights reserved.