Package io.dialob.client.spi
Class DialobEhCache
- java.lang.Object
-
- io.dialob.client.spi.DialobEhCache
-
- All Implemented Interfaces:
DialobCache
public class DialobEhCache extends Object implements DialobCache
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDialobEhCache.Builder-
Nested classes/interfaces inherited from interface io.dialob.client.api.DialobCache
DialobCache.CacheEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DialobEhCache.Builderbuilder()voidflush(String id)Optional<io.dialob.api.form.FormEntity>getAst(DialobStore.BodySource src)Optional<DialobProgram>getProgram(DialobStore.BodySource src)io.dialob.api.form.FormEntitysetAst(io.dialob.api.form.FormEntity ast, DialobStore.BodySource src)DialobProgramsetProgram(DialobProgram program, DialobStore.BodySource src)DialobEhCachewithName(String name)
-
-
-
Method Detail
-
getProgram
public Optional<DialobProgram> getProgram(DialobStore.BodySource src)
- Specified by:
getProgramin interfaceDialobCache
-
getAst
public Optional<io.dialob.api.form.FormEntity> getAst(DialobStore.BodySource src)
- Specified by:
getAstin interfaceDialobCache
-
setProgram
public DialobProgram setProgram(DialobProgram program, DialobStore.BodySource src)
- Specified by:
setProgramin interfaceDialobCache
-
setAst
public io.dialob.api.form.FormEntity setAst(io.dialob.api.form.FormEntity ast, DialobStore.BodySource src)- Specified by:
setAstin interfaceDialobCache
-
withName
public DialobEhCache withName(String name)
- Specified by:
withNamein interfaceDialobCache
-
builder
public static DialobEhCache.Builder builder()
-
flush
public void flush(String id)
- Specified by:
flushin interfaceDialobCache
-
-