pub struct UltraPerformanceEngine { /* private fields */ }Expand description
超高性能エンジン(2M+ events/sec対応)
Implementations§
Source§impl UltraPerformanceEngine
impl UltraPerformanceEngine
Sourcepub fn new() -> Result<UltraPerformanceEngine, StorageError>
pub fn new() -> Result<UltraPerformanceEngine, StorageError>
新しいUltra Performance Engineを作成(セキュリティ機能付き)
Sourcepub fn new_with_security(
security_config: SecurityConfig,
) -> Result<UltraPerformanceEngine, StorageError>
pub fn new_with_security( security_config: SecurityConfig, ) -> Result<UltraPerformanceEngine, StorageError>
セキュリティ設定を指定してエンジンを作成
Sourcepub async fn secure_ultra_batch_process(
&mut self,
events: Vec<Event>,
) -> Result<Vec<Offset>, StorageError>
pub async fn secure_ultra_batch_process( &mut self, events: Vec<Event>, ) -> Result<Vec<Offset>, StorageError>
セキュアな超高速バッチ処理(3M+ events/sec + DoS Protection)
Sourcepub async fn ultra_batch_process(
&mut self,
events: Vec<Event>,
) -> Result<Vec<Offset>, StorageError>
pub async fn ultra_batch_process( &mut self, events: Vec<Event>, ) -> Result<Vec<Offset>, StorageError>
従来のultra_batch_process(セキュリティなし、下位互換性)
Sourcepub fn get_security_metrics(&self) -> SecurityMetrics
pub fn get_security_metrics(&self) -> SecurityMetrics
セキュリティメトリクス取得
Sourcepub fn update_security_config(
&mut self,
config: SecurityConfig,
) -> Result<(), StorageError>
pub fn update_security_config( &mut self, config: SecurityConfig, ) -> Result<(), StorageError>
セキュリティ設定更新
Sourcepub fn get_metrics(&self) -> PerformanceMetrics
pub fn get_metrics(&self) -> PerformanceMetrics
現在の性能メトリクスを取得
Sourcepub fn get_ring_buffer_stats(&self) -> Vec<f64>
pub fn get_ring_buffer_stats(&self) -> Vec<f64>
Ring Bufferの状態を取得
Auto Trait Implementations§
impl !Freeze for UltraPerformanceEngine
impl RefUnwindSafe for UltraPerformanceEngine
impl Send for UltraPerformanceEngine
impl Sync for UltraPerformanceEngine
impl Unpin for UltraPerformanceEngine
impl UnsafeUnpin for UltraPerformanceEngine
impl UnwindSafe for UltraPerformanceEngine
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