이 콘텐츠는 선택한 언어로 제공되지 않습니다.
22.3. Paging Mode
As soon as messages delivered to an address exceed the configured size, that address alone goes into page mode.
Note
Paging is done individually per address. Configuring a max-size-bytes for an address means each matching address will have a maximum size specified. Please note it does not mean that the total overall size of all matching addresses is limited to max-size-bytes.
22.3.1. Configuration 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Configuration is done in the address settings, in
<JBOSS_HOME>/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-configuration.xml
.
This is the list of available parameters on the address settings.
Property Name | Description | Default |
---|---|---|
max-size-bytes | The max memory the address could have before entering on page mode. | -1 (disabled) |
page-size-bytes | The size of each page file used on the paging system | 10MiB (10 * 1024 * 1024 bytes) |
address-full-policy | This must be set to PAGE for paging to enable.
| PAGE |
page-max-cache-size | Specifies the number of page files kept in memory to optimize input/output cycles during paging navigation. | 5 |