/** * Indicates whether the metaData of this message has already been deserialized. * * @return {@code true} if the metaData is deserialized, otherwise {@code false} */ public boolean isMetaDataDeserialized() { return metaData.isDeserialized(); }
/** * Indicates whether the payload of this message has already been deserialized. * * @return {@code true} if the payload is deserialized, otherwise {@code false} */ public boolean isPayloadDeserialized() { return payload.isDeserialized(); }
/** * De-serializes the object and returns the result. * * @return the deserialized object */ public T getObject() { if (!isDeserialized()) { deserializedObject = serializer.deserialize(serializedObject.get()); } return deserializedObject; }
/** * Indicates whether the payload of this message has already been deserialized. * * @return {@code true} if the payload is deserialized, otherwise {@code false} */ public boolean isPayloadDeserialized() { return payload.isDeserialized(); }
/** * Indicates whether the payload of this message has already been deserialized. * * @return {@code true} if the payload is deserialized, otherwise {@code false} */ public boolean isPayloadDeserialized() { return payload.isDeserialized(); }
/** * Indicates whether the metaData of this message has already been deserialized. * * @return {@code true} if the metaData is deserialized, otherwise {@code false} */ public boolean isMetaDataDeserialized() { return metaData.isDeserialized(); }
/** * Indicates whether the metaData of this message has already been deserialized. * * @return {@code true} if the metaData is deserialized, otherwise {@code false} */ public boolean isMetaDataDeserialized() { return metaData.isDeserialized(); }
/** * De-serializes the object and returns the result. * * @return the deserialized object */ public T getObject() { if (!isDeserialized()) { deserializedObject = serializer.deserialize(serializedObject.get()); } return deserializedObject; }
/** * De-serializes the object and returns the result. * * @return the deserialized object */ public T getObject() { if (!isDeserialized()) { deserializedObject = serializer.deserialize(serializedObject.get()); } return deserializedObject; }