Class GremlinLangPlugin.Builder
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.jsr223.GremlinLangPlugin.Builder
-
- Enclosing class:
- GremlinLangPlugin
public static class GremlinLangPlugin.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GremlinLangPlugin.BuildercacheEnabled(boolean cacheEnabled)GremlinLangPlugin.Buildercaffeine(String spec)Provide a Caffeine spec formatted cache definition to configure the cache.GremlinLangPlugincreate()
-
-
-
Method Detail
-
cacheEnabled
public GremlinLangPlugin.Builder cacheEnabled(boolean cacheEnabled)
-
caffeine
public GremlinLangPlugin.Builder caffeine(String spec)
Provide a Caffeine spec formatted cache definition to configure the cache. For example, "maximumWeight=1000, expireAfterWrite=10m", see Caffeine Documatation for details.
-
create
public GremlinLangPlugin create()
-
-