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 voidMetadataFileHandler. addJsonArray(String key, com.google.gson.JsonArray value)Adds an array to the metadata file.longPersistentQueue. calculateDiskUsage()Loops through each file in the queue directory and calculates the disk usage of the queue.voidMetadataFileHandler. close()Closes the metadata file.voidPersistentQueue. close()Closes the queue.voidQueueBlock. close()Closes the block.voidQueueBlock. delete()Deletes the block.TPersistentQueue. dequeue()Dequeues the next object from the queue.voidPersistentQueue. enqueue(T object)Enqueues the given object to the queue.static QueueBlockQueueBlock. loadBlock(String directoryPath, String fileName)This method is to be used when loading the next queue block to memory.TPersistentQueue. 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.
-