Apply flags with a builder method
This builder method can be used to apply any number of flags to a cache invocation, for example: Â advancedCache.withFlags(Flag.CACHE_MODE_LOCAL, Flag.SKIP_LOCKING) Â Â .withFlags(Flag.FORCE_SYNCHRONOUS) Â Â .put("hello", "world");