이 콘텐츠는 선택한 언어로 제공되지 않습니다.
2.3.2. Configure the Batching API
To use the Batching API, enable invocation batching in the cache configuration.
XML Configuration
To configure the Batching API in the XML file:
<invocationBatching enabled="true" />
<invocationBatching enabled="true" />
Programmatic Configuration
To configure the Batching API programmatically use:
Configuration c = new ConfigurationBuilder().invocationBatching().enable().build();
Configuration c = new ConfigurationBuilder().invocationBatching().enable().build();
In Red Hat JBoss Data Grid, invocation batching is disabled by default and batching can be used without a defined Transaction Manager.
Note
Programmatic configurations can only be used with JBoss Data Grid's Library mode.