public class IpcSharedMemoryInitResponse extends Object implements Externalizable
| Constructor and Description |
|---|
IpcSharedMemoryInitResponse()
Required by
Externalizable. |
IpcSharedMemoryInitResponse(Exception err)
Constructs an error response.
|
IpcSharedMemoryInitResponse(String inTokFileName,
int inSharedMemId,
String outTokFileName,
int outSharedMemId,
int pid,
int size)
Constructs a successful response.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable Exception |
error() |
int |
inSharedMemoryId() |
@Nullable String |
inTokenFileName() |
int |
outSharedMemoryId() |
@Nullable String |
outTokenFileName() |
int |
pid() |
void |
readExternal(ObjectInput in) |
int |
size() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public IpcSharedMemoryInitResponse(String inTokFileName, int inSharedMemId, String outTokFileName, int outSharedMemId, int pid, int size)
inTokFileName - In token.inSharedMemId - In shared memory ID.outTokFileName - Out token.outSharedMemId - Out shared memory ID.pid - PID of the server party.size - Size.public IpcSharedMemoryInitResponse(Exception err)
err - Error cause.public IpcSharedMemoryInitResponse()
Externalizable.@Nullable public @Nullable String inTokenFileName()
null, if this is an error response.public int inSharedMemoryId()
@Nullable public @Nullable String outTokenFileName()
null, if this is an error response.public int outSharedMemoryId()
public int pid()
public int size()
@Nullable public @Nullable Exception error()
null, if this is
a successful response.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020