3.2. 执行批处理操作交互
使用标准输入流 stdin 以交互方式执行批处理操作。
流程
以交互模式启动 Data Grid CLI。
bin/cli.sh -c localhost:11222 -f -提示您可以使用
autoconnect-url属性配置 CLI 连接,而不使用-c参数。运行批处理操作,例如:
create cache --template=org.infinispan.DIST_SYNC mybatch put --cache=mybatch hello world put --cache=mybatch hola mundo disconnect quit