Uses of Class
org.wso2.carbon.logging.appender.http.utils.queue.exception.PersistentQueueException
-
Packages that use PersistentQueueException Package Description org.wso2.carbon.logging.appender.http.utils.queue -
-
Uses of PersistentQueueException in org.wso2.carbon.logging.appender.http.utils.queue
Methods in org.wso2.carbon.logging.appender.http.utils.queue that throw PersistentQueueException Modifier and Type Method Description void
MetadataFileHandler. addJsonArray(String key, com.google.gson.JsonArray value)
Adds an array to the metadata file.long
PersistentQueue. calculateDiskUsage()
Loops through each file in the queue directory and calculates the disk usage of the queue.void
MetadataFileHandler. close()
Closes the metadata file.void
PersistentQueue. close()
Closes the queue.void
QueueBlock. close()
Closes the block.void
QueueBlock. delete()
Deletes the block.T
PersistentQueue. dequeue()
Dequeues the next object from the queue.void
PersistentQueue. enqueue(T object)
Enqueues the given object to the queue.static QueueBlock
QueueBlock. loadBlock(String directoryPath, String fileName)
This method is to be used when loading the next queue block to memory.T
PersistentQueue. peek()
Peeks the next object from the queue without removing it.Constructors in org.wso2.carbon.logging.appender.http.utils.queue that throw PersistentQueueException Constructor Description MetadataFileHandler(String filePath)
Constructor of the MetadataFileHandler class.PersistentQueue(String queueDirectoryPath, long maxDiskSpaceInBytes, long maxBatchSizeInBytes)
Constructor of the PersistentQueue class.QueueBlock(String queueDirectoryPath, String fileName, long length)
This constructor is to be used when creating a new block.
-