public class BeanPathUpdateIds extends Object
| Constructor and Description |
|---|
BeanPathUpdateIds(BeanDescriptor<?> desc,
String path)
Create the payload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addId(Serializable id) |
BeanDescriptor<?> |
getBeanDescriptor() |
String |
getDescriptorId()
Return the Descriptor Id.
|
List<Serializable> |
getIds() |
String |
getPath() |
static BeanPathUpdateIds |
readBinaryMessage(SpiEbeanServer server,
DataInput dataInput) |
String |
toString() |
void |
writeBinaryMessage(BinaryMessageList msgList)
Write the contents into a BinaryMessage form.
|
public BeanPathUpdateIds(BeanDescriptor<?> desc, String path)
public static BeanPathUpdateIds readBinaryMessage(SpiEbeanServer server, DataInput dataInput) throws IOException
IOExceptionpublic void writeBinaryMessage(BinaryMessageList msgList) throws IOException
For a RemoteBeanPersist with a large number of id's note that this is broken up into many BinaryMessages each with a maximum of 100 ids. This enables the contents of a large RemoteTransactionEvent to be split up across multiple Packets.
IOExceptionpublic void addId(Serializable id)
public BeanDescriptor<?> getBeanDescriptor()
public String getDescriptorId()
public String getPath()
public List<Serializable> getIds()
Copyright © 2014. All Rights Reserved.