public class ConnectionInfo extends Object implements DataSerializable
Connection
information.Constructor and Description |
---|
ConnectionInfo() |
ConnectionInfo(int memberIndex,
boolean live,
long lastRead,
long lastWrite) |
Modifier and Type | Method and Description |
---|---|
long |
getLastRead() |
long |
getLastWrite() |
int |
getMemberIndex() |
boolean |
isLive() |
void |
readData(ObjectDataInput in) |
void |
writeData(ObjectDataOutput out) |
public ConnectionInfo()
public ConnectionInfo(int memberIndex, boolean live, long lastRead, long lastWrite)
public long getLastRead()
public long getLastWrite()
public boolean isLive()
public int getMemberIndex()
public void writeData(ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2014 Hazelcast, Inc.. All rights reserved.