leikang123 opened a new pull request #3343:
URL: https://github.com/apache/rocketmq/pull/3343
``…java and
store/src/main/java/org/apache/rocketmq/store/config/FlushDiskType.java two
enumeration codes Supplementary notes
package org.apache.rocketmq.store.config;
/**
* define BrokerRole enum class
*/
public enum BrokerRole {
/**
* When the slave and master messages are completed asynchronously,
* there is no need to send a successful status
*/
ASYNC_MASTER,
/**
* When the slave and master messages are synchronized,
* they will return to the status of successful sending
*/
SYNC_MASTER,
/**
* Indicates the slave, used to read the message
*/
SLAVE;
}
``package org.apache.rocketmq.store.config;
/**
* Define the disk brush enumeration class
*/
public enum FlushDiskType {
/**
* Indicates synchronous brushing
*/
SYNC_FLUSH,
/**
* Indicates asynchronous brushing
*/
ASYNC_FLUSH
}
**I will continue to submit the code comments under other packages later!**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]