Starts a batch. This is a lightweight batching mechanism that groups cache writes together and finally performs the write, persistence and/or replication when {@link #endBatch(boolean)} is called rather than for each invocation on thecache.
Note that if there is an existing transaction in scope and the cache has been configured to use a JTA compliant transaction manager, calls to {@link #startBatch()} and {@link #endBatch(boolean)} are ignored and treated as no-ops.
@see #endBatch(boolean)
@since 3.0