Mock distCache by returning result of given init function.
Mock distCache by returning result of given init function.
init function, must be serializable.
Mock distCache by returning given value.
Mock distCache by returning given value.
mock value, must be serializable.