|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neeve.util.UtlListElement
com.neeve.sma.MessageViewImpl
com.neeve.rog.impl.RogNode
com.neeve.aep.AepEnvironmentData
public final class AepEnvironmentData
Implements the store object to replicate environment provider data
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.neeve.rog.IRogNode |
|---|
IRogNode.PoolingListener |
| Nested classes/interfaces inherited from interface com.neeve.ods.IStoreObject |
|---|
IStoreObject.EncodingType |
| Field Summary |
|---|
| Fields inherited from class com.neeve.rog.impl.RogNode |
|---|
DATE_FORMAT |
| Fields inherited from class com.neeve.util.UtlListElement |
|---|
count, head, next, prev |
| Fields inherited from interface com.neeve.sma.MessageView |
|---|
ENCODING_TYPE_CUSTOM, ENCODING_TYPE_JSON, ENCODING_TYPE_PROTOBUF, ENCODING_TYPE_XBUF, NEXT_FREE_ENCODING_TYPE |
| Method Summary | |
|---|---|
static AepEnvironmentData |
create()
|
IStoreObject |
deserialize(PktPacket object)
Deserialize an object's data. |
AepEnvironmentData |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array. |
AepEnvironmentData |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer. |
AepEnvironmentData |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string |
AepEnvironmentData |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet. |
AepEnvironmentData |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deserialize a node's data from a protobuf message. |
int |
dispose()
Default implementation of MessageView.dispose()
This is the default implementation of the dispose method. |
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type. |
PktPacket |
serialize()
Serialize an object's data. |
byte[] |
serializeToByteArray()
Serialize a view's backing message to a byte array. |
ByteBuffer |
serializeToByteBuffer()
Serialize a view's backing message to a byte buffer. |
String |
serializeToJson()
Serialize a view's backing message to JSON. |
PktPacket |
serializeToPacket()
Serialize a view's backing message to a packet. |
com.google.protobuf.Message |
serializeToProtobuf()
Serialize a node's data to a proto message. |
IStoreObject |
setFieldValue(int id,
Object val)
Set the value of an object field. |
void |
sync()
Ensure a view's backing message is prepared and ready for transport |
String |
toString()
Return a string representation of this object |
void |
undispose(com.eaio.uuid.UUID id)
|
| Methods inherited from class com.neeve.rog.impl.RogNode |
|---|
accept, appendFieldValueTo, appendFieldValueTo, deserializeMetadata, deserializeMetadata, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMetadata, getOfid, getOriginTs, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParent, getParentId, getPoolingListener, getPostDeserializeTs, getPostProcessingTs, getPostProcessingTsMicros, getPostSerializeTs, getPostWireSendTs, getPostWireTs, getPreDeserializeTs, getPreProcessingTs, getPreProcessingTsMicros, getPreSerializeTs, getPreWireTs, getReceiveTs, getSendStartTs, getSendTs, getSerializedMetadataLength, getStableTransactionId, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReadOnly, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCreateTs, setEnqueueTsMicros, setId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setOriginTs, setOutMsgsInTransaction, setOutTs, setOutTsMicros, setParentId, setPoolingListener, setPossibleDuplicate, setPostDeserializeTs, setPostProcessingTs, setPostProcessingTsMicros, setPostSerializeTs, setPostWireSendTs, setPostWireTs, setPreDeserializeTs, setPreProcessingTs, setPreProcessingTsMicros, setPreSerializeTs, setPreWireTs, setReceiveTs, setSendStartTs, setSendTs, setStableTransactionId, setTransactionId, setTransactionInSequenceNumber, setTransactionOutSequenceNumber |
| Methods inherited from class com.neeve.sma.MessageViewImpl |
|---|
acquire, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, serializeToIOBuffer, setTag |
| Methods inherited from class com.neeve.util.UtlListElement |
|---|
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.neeve.ods.IStoreObject |
|---|
acquire, deserializeMetadata, deserializeMetadata, ensureId, getBinding, getCheckpointVersion, getId, getOfid, getOwnershipCount, getSerializedMetadataLength, getStableTransactionId, getTransactionId, serializeMetadata, setBinding, setCheckpointVersion, setId, setStableTransactionId, setTransactionId |
| Methods inherited from interface com.neeve.sma.MapMessageView |
|---|
getMessageReflector |
| Methods inherited from interface com.neeve.util.UtlReferenceTracker.HasReferenceTracker |
|---|
referenceTracker |
| Methods inherited from interface com.neeve.rog.IRogValidatable |
|---|
getValidationErrors, isValid |
| Method Detail |
|---|
public static AepEnvironmentData create()
public final byte[] serializeToByteArray()
MessageView
serializeToByteArray in interface MessageViewpublic final ByteBuffer serializeToByteBuffer()
MessageView
serializeToByteBuffer in interface MessageViewpublic final PktPacket serializeToPacket()
MessageView
serializeToPacket in interface MessageViewpublic final com.google.protobuf.Message serializeToProtobuf()
IRogNode
serializeToProtobuf in interface IRogNodepublic final String serializeToJson()
MessageViewSerializing/deserializing a message to/from JSON is an optional operation
serializeToJson in interface MessageViewpublic final AepEnvironmentData deserializeFromByteArray(byte[] array)
MessageView
deserializeFromByteArray in interface MessageViewarray - The view's backing message serialized as a byte array.public final AepEnvironmentData deserializeFromByteBuffer(ByteBuffer buffer)
MessageView
deserializeFromByteBuffer in interface MessageViewbuffer - The view's backing message serialized as a byte buffer.public final AepEnvironmentData deserializeFromPacket(PktPacket packet)
MessageView
deserializeFromPacket in interface MessageViewpacket - The view's backing message serialized as a packet.public final AepEnvironmentData deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNode
deserializeFromProtobuf in interface IRogNodemessage - The protobuf messagepublic final AepEnvironmentData deserializeFromJson(String json)
MessageView
deserializeFromJson in interface MessageViewjson - The view's backing message serialized as a json string.
Serializing/deserializing a message to/from JSON is an optional operation
public int dispose()
MessageViewImplMessageView.dispose()
This is the default implementation of the dispose method. The implementation just decrements the ownership count. Implementations that implement view object pooling or other such functionality should override this method but invoke this method to decrement the object reference count.
dispose in interface IStoreObjectdispose in interface IRogNodedispose in interface MessageViewdispose in class com.neeve.rog.impl.RogNodepublic void undispose(com.eaio.uuid.UUID id)
undispose in class com.neeve.rog.impl.RogNodepublic final void sync()
MessageView
sync in interface MessageViewpublic final IStoreObject.EncodingType getContentEncodingType()
IStoreObject
getContentEncodingType in interface IStoreObjectpublic final PktPacket serialize()
IStoreObject
serialize in interface IStoreObjectpublic final IStoreObject deserialize(PktPacket object)
IStoreObject
deserialize in interface IStoreObjectobject - The object in serialized form.
public final IStoreObject setFieldValue(int id,
Object val)
IStoreObject
setFieldValue in interface IStoreObjectsetFieldValue in class com.neeve.rog.impl.RogNodeThis method is invoked during the rollback process to restore field values.
public final String toString()
MessageViewImpl
toString in class com.neeve.rog.impl.RogNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||