public interface CacheRequestListener
Modifier and Type | Method and Description |
---|---|
void |
onComplete(Long requestId,
Topic topic,
CacheRequestResult result)
Called when an asynchronous cache request completes.
|
void |
onException(Long requestId,
Topic topic,
JCSMPException exception)
Called when an asynchronous cache request ends with an error.
|
void onComplete(Long requestId, Topic topic, CacheRequestResult result)
requestId
- Request ID specified in the cache request.topic
- Topic that was the object of the cache request.result
- Result of the cache request.void onException(Long requestId, Topic topic, JCSMPException exception)
requestId
- Request ID specified in the cache request.topic
- Topic that was the object of the cache request.exception
- Exception that occurred.Copyright 2004-2024 Solace Corporation. All rights reserved.