public final class LargeServerMessageInSync extends Object implements ReplicatedLargeMessage
| Constructor and Description |
|---|
LargeServerMessageInSync(StorageManager storageManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBytes(byte[] bytes) |
void |
deleteFile() |
org.apache.activemq.artemis.core.io.SequentialFile |
getSyncFile() |
void |
joinSyncedData(ByteBuffer buffer) |
void |
releaseResources() |
org.apache.activemq.artemis.api.core.Message |
setDurable(boolean durable) |
org.apache.activemq.artemis.api.core.Message |
setMessageID(long id) |
public LargeServerMessageInSync(StorageManager storageManager)
storageManager - public void joinSyncedData(ByteBuffer buffer) throws Exception
Exceptionpublic org.apache.activemq.artemis.core.io.SequentialFile getSyncFile()
throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionpublic org.apache.activemq.artemis.api.core.Message setDurable(boolean durable)
setDurable in interface ReplicatedLargeMessageMessage.setDurable(boolean)public org.apache.activemq.artemis.api.core.Message setMessageID(long id)
setMessageID in interface ReplicatedLargeMessageServerMessage.setMessageID(long)public void releaseResources()
releaseResources in interface ReplicatedLargeMessageLargeServerMessage.releaseResources()public void deleteFile()
throws Exception
deleteFile in interface ReplicatedLargeMessageExceptionLargeServerMessage.deleteFile()public void addBytes(byte[] bytes)
throws Exception
addBytes in interface ReplicatedLargeMessageExceptionLargeServerMessage.addBytes(byte[])Copyright © 2023 The Apache Software Foundation. All rights reserved.