pub enum TimerStoreMode {
JavaCompat,
ExtendedTimeline,
Native,
}Expand description
Configured timer storage mode.
Variants§
JavaCompat
RocketMQ Java-compatible timer wheel and timer log.
ExtendedTimeline
RocksDB-backed long-horizon timeline, which needs the rocketmq-store/extended_timeline
feature.
Deprecated in favor of TimerStoreMode::Native and planned for removal. A stopped
Broker’s timers move to the native engine with rocketmq-cli-rust migrate-extended-timers.
Native
Tiered time-bucket log for delays of up to timerNative.maxDelayDays. Timers the
Java-compatible engine admitted before the switch are still delivered by it.
Implementations§
Trait Implementations§
Source§impl Clone for TimerStoreMode
impl Clone for TimerStoreMode
impl Copy for TimerStoreMode
Source§impl Debug for TimerStoreMode
impl Debug for TimerStoreMode
Source§impl Default for TimerStoreMode
impl Default for TimerStoreMode
Source§impl<'de> Deserialize<'de> for TimerStoreMode
impl<'de> Deserialize<'de> for TimerStoreMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TimerStoreMode
Source§impl PartialEq for TimerStoreMode
impl PartialEq for TimerStoreMode
Source§impl Serialize for TimerStoreMode
impl Serialize for TimerStoreMode
impl StructuralPartialEq for TimerStoreMode
Auto Trait Implementations§
impl Forget for TimerStoreMode
impl Freeze for TimerStoreMode
impl Move for TimerStoreMode
impl RefUnwindSafe for TimerStoreMode
impl Send for TimerStoreMode
impl Sync for TimerStoreMode
impl Unpin for TimerStoreMode
impl UnsafeUnpin for TimerStoreMode
impl UnwindSafe for TimerStoreMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more