Interface LargeServerMessage
- All Superinterfaces:
ReplicatedLargeMessage
- All Known Subinterfaces:
CoreLargeServerMessage
- All Known Implementing Classes:
LargeServerMessageImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddBytes(byte[] bytes) default voidaddBytes(ActiveMQBuffer bytes) voidaddBytes(ActiveMQBuffer bytes, boolean initialHeader) voidThis will return the File suitable for appending the messagelongbooleanisOpen()voidreleaseResources(boolean sync, boolean sendEvent) Close the files if openedvoidsetPaged()voidsetStorageManager(StorageManager storageManager) Methods inherited from interface org.apache.activemq.artemis.core.replication.ReplicatedLargeMessage
getMessage, setDurable, setMessageID
-
Method Details
-
toMessage
Message toMessage() -
getStorageManager
StorageManager getStorageManager() -
addBytes
- Specified by:
addBytesin interfaceReplicatedLargeMessage- Throws:
Exception- See Also:
-
addBytes
- Throws:
Exception
-
addBytes
- Throws:
Exception
-
getMessageID
long getMessageID() -
setPaged
void setPaged() -
releaseResources
void releaseResources(boolean sync, boolean sendEvent) Close the files if opened- Specified by:
releaseResourcesin interfaceReplicatedLargeMessage- See Also:
-
isOpen
boolean isOpen() -
deleteFile
- Specified by:
deleteFilein interfaceReplicatedLargeMessage- Throws:
Exception- See Also:
-
getAppendFile
This will return the File suitable for appending the message- Throws:
ActiveMQException
-
getLargeBodyReader
- Throws:
ActiveMQException
-
getLargeBody
LargeBody getLargeBody() -
setStorageManager
-