| Package | Description |
|---|---|
| ch.shamu.jsendnrdp.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
NagiosCheckSenderImpl
In this implementation, calls to the send method waits for the NRDP server's response before returning.
|
class |
NonBlockingNagiosCheckSender
This implementation uses a bounded queue of alerts to send (jobs).
A ThreadPoolExecutor processes those jobs. Due to the asynchronous nature of this sender, the only exception that can be thrown by the "send" method is if the maxQueueSize is reached (IOException). |
| Constructor and Description |
|---|
NonBlockingSender(Collection<NagiosCheckResult> results,
NagiosCheckSender sender,
com.google.common.util.concurrent.RateLimiter rateLimiter) |
Copyright © 2015. All Rights Reserved.