Class DummyCallback
java.lang.Object
org.apache.activemq.artemis.core.journal.impl.SyncIOCompletion
org.apache.activemq.artemis.core.io.DummyCallback
- All Implemented Interfaces:
IOCallback, IOCompletion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddone()Method for sync notifications.static DummyCallbackvoidMethod for error notifications.voidvoid
-
Constructor Details
-
DummyCallback
public DummyCallback()
-
-
Method Details
-
getInstance
-
done
public void done()Description copied from interface:IOCallbackMethod for sync notifications. When this callback method is called, there is a guarantee the data is written on the disk.Note:Leave this method as soon as possible, or you would be blocking the whole notification thread
-
onError
Description copied from interface:IOCallbackMethod for error notifications. Observation: The whole file will be probably failing if this happens. Like, if you delete the file, you will start to get errors for these operations -
waitCompletion
- Specified by:
waitCompletionin classSyncIOCompletion- Throws:
Exception
-
storeLineUp
public void storeLineUp()
-