Class InfinispanResources
java.lang.Object
org.apache.camel.quarkus.component.infinispan.InfinispanResources
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclearAsync(String component) voidvoidcomputeAsync(String component) containsKey(String component) containsValue(String component, String value) getOrDefault(String component) javax.json.JsonObjectvoidvoidmanageRoute(String routeId, boolean enabled) voidvoidputAllAsync(String component) voidvoidputIdempotent(String component) putIfAbsent(String component, String content) voidputIfAbsentAsync(String component, String content) javax.ws.rs.core.ResponsevoidvoidremoveAsync(String component) voidvoidreplaceAsync(String component, String content)
-
Field Details
-
CACHE_NAME_CAMEL
- See Also:
-
CACHE_NAME_QUARKUS
- See Also:
-
cacheManager
@Inject org.infinispan.client.hotrod.RemoteCacheManager cacheManager -
template
@Inject org.apache.camel.ProducerTemplate template -
camelContext
@Inject org.apache.camel.CamelContext camelContext
-
-
Constructor Details
-
InfinispanResources
public InfinispanResources()
-
-
Method Details
-
inspectCamelInfinispanClientConfiguration
@Path("/inspect") @GET @Produces("application/json") public javax.json.JsonObject inspectCamelInfinispanClientConfiguration() -
aggregate
@Path("/aggregate") @GET public void aggregate(@QueryParam("component") String component) throws InterruptedException - Throws:
InterruptedException
-
clear
-
clearAsync
@Path("/clearAsync") @DELETE public void clearAsync(@QueryParam("component") String component) throws ExecutionException, InterruptedException, TimeoutException -
compute
-
computeAsync
@Path("/computeAsync") @POST public void computeAsync(@QueryParam("component") String component) throws ExecutionException, InterruptedException, TimeoutException -
containsKey
-
containsValue
-
listener
@Path("/event/verify") @GET public void listener(@QueryParam("component") String component, @QueryParam("mockEndpointUri") String mockEndpointUri, String content) throws InterruptedException - Throws:
InterruptedException
-
get
-
getOrDefault
-
put
-
putAsync
@Path("/putAsync") @POST @Consumes("text/plain") public void putAsync(@QueryParam("component") String component, String content) throws ExecutionException, InterruptedException, TimeoutException -
putAll
-
putAllAsync
@Path("/putAllAsync") @POST public void putAllAsync(@QueryParam("component") String component) throws ExecutionException, InterruptedException, TimeoutException -
putIdempotent
@Path("/putIdempotent") @GET public void putIdempotent(@QueryParam("component") String component) throws InterruptedException - Throws:
InterruptedException
-
putIfAbsent
-
putIfAbsentAsync
@Path("/putIfAbsentAsync") @POST @Consumes("text/plain") public void putIfAbsentAsync(@QueryParam("component") String component, String content) throws ExecutionException, InterruptedException, TimeoutException -
query
@Path("/query") @GET @Produces("text/plain") public javax.ws.rs.core.Response query(@QueryParam("component") String component) -
remove
-
removeAsync
@Path("/removeAsync") @DELETE public void removeAsync(@QueryParam("component") String component) throws ExecutionException, InterruptedException, TimeoutException -
replace
-
replaceAsync
@Path("/replaceAsync") @PATCH @Consumes("text/plain") public void replaceAsync(@QueryParam("component") String component, String content) throws ExecutionException, InterruptedException, TimeoutException -
size
-
stats
-
manageRoute
@POST @Path("consumer/{routeId}/{enabled}") public void manageRoute(@PathParam("routeId") String routeId, @PathParam("enabled") boolean enabled) throws Exception - Throws:
Exception
-