examples-spring-redis-amq
1package com.tasks.cache
2
3import java.io.Serializable
4
5interface Cache<T:Serializable> {
6fun get(key:String):T?
7fun put(key: String, value: T, expiry:Long=0)
8fun delete(key: String): Serializable?
9
10//TODO + check exists??
11}