FileStorage

class FileStorage(apiKey: String, logger: Logger, prefix: String?) : Storage, EventsFileStorage

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getEventCallback(insertId: String): EventCallBack?
Link copied to clipboard
open suspend override fun getEventsString(content: Any): String
Link copied to clipboard
open override fun getResponseHandler(eventPipeline: EventPipeline, configuration: Configuration, scope: CoroutineScope, dispatcher: CoroutineDispatcher, events: Any, eventsString: String): ResponseHandler
Link copied to clipboard
open override fun read(key: Storage.Constants): String?
Link copied to clipboard
open override fun readEventsContent(): List<Any>
Link copied to clipboard
open override fun removeEventCallback(insertId: String)
Link copied to clipboard
open override fun removeFile(filePath: String): Boolean
Link copied to clipboard
open suspend override fun rollover()
Link copied to clipboard
open override fun splitEventFile(filePath: String, events: JSONArray)
Link copied to clipboard
open suspend override fun write(key: Storage.Constants, value: String)
Link copied to clipboard
open suspend override fun writeEvent(event: BaseEvent)

Properties

Link copied to clipboard
val eventCallbacksMap: MutableMap<String, EventCallBack>