public class KeepAliveScheduler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
KeepAliveScheduler.Builder
Builder class for creating KeepAliveScheduler instances with fluent API.
|
| Modifier and Type | Method and Description |
|---|---|
static KeepAliveScheduler.Builder |
builder(Supplier<reactor.core.publisher.Flux<McpSession>> mcpSessions)
Creates a new Builder instance for constructing KeepAliveScheduler.
|
boolean |
isRunning()
Checks if the scheduler is currently running.
|
void |
shutdown()
Shuts down the scheduler and releases resources.
|
reactor.core.Disposable |
start()
Starts regular keepAlive calls with sessions supplier.
|
void |
stop()
Stops the currently running keepAlive scheduler.
|
public static KeepAliveScheduler.Builder builder(Supplier<reactor.core.publisher.Flux<McpSession>> mcpSessions)
public reactor.core.Disposable start()
public void stop()
public boolean isRunning()
public void shutdown()
Copyright © 2025. All rights reserved.