suparnatural-cache / com.suparnatural.core.cache / Cacheable / serializeForPersistence

serializeForPersistence

abstract fun serializeForPersistence(): String

Returns a serialized string which can be persisted. If this is the last object returned by the preprocessor chain, the return value of this method will be persisted as it is. Otherwise, this method will not called.