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

serializeForPersistence

fun serializeForPersistence(): String

Overrides Cacheable.serializeForPersistence

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.