pub enum TimerFileFormat {
RustV2,
Java,
}Expand description
On-disk format of the Java-compatible engine’s TimerLog, TimerWheel and checkpoint.
The default is Java, so a Rust Broker can replace a Java Broker in place
without losing its pending timers. A store that still holds rust_v2 timers delivers them
from those files while new timers go to the configured format.
Variants§
RustV2
Segmented, checksummed Rust files with A/B wheel pages.
Java
The Apache RocketMQ 5.x timerlog, timerwheel and timercheck files, so the store can
take over a Java Broker’s pending timers and hand them back.
Implementations§
Trait Implementations§
Source§impl Clone for TimerFileFormat
impl Clone for TimerFileFormat
impl Copy for TimerFileFormat
Source§impl Debug for TimerFileFormat
impl Debug for TimerFileFormat
Source§impl Default for TimerFileFormat
impl Default for TimerFileFormat
Source§impl<'de> Deserialize<'de> for TimerFileFormat
impl<'de> Deserialize<'de> for TimerFileFormat
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 TimerFileFormat
Source§impl PartialEq for TimerFileFormat
impl PartialEq for TimerFileFormat
Source§impl Serialize for TimerFileFormat
impl Serialize for TimerFileFormat
impl StructuralPartialEq for TimerFileFormat
Auto Trait Implementations§
impl Forget for TimerFileFormat
impl Freeze for TimerFileFormat
impl Move for TimerFileFormat
impl RefUnwindSafe for TimerFileFormat
impl Send for TimerFileFormat
impl Sync for TimerFileFormat
impl Unpin for TimerFileFormat
impl UnsafeUnpin for TimerFileFormat
impl UnwindSafe for TimerFileFormat
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