类 InfinispanResources
- java.lang.Object
-
- org.apache.camel.quarkus.component.infinispan.InfinispanResources
-
@Path("/infinispan") @ApplicationScoped public class InfinispanResources extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringCACHE_NAME_CAMELstatic StringCACHE_NAME_QUARKUS(专用程序包) org.infinispan.client.hotrod.RemoteCacheManagercacheManager(专用程序包) org.apache.camel.CamelContextcamelContext(专用程序包) org.apache.camel.ProducerTemplatetemplate
-
构造器概要
构造器 构造器 说明 InfinispanResources()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaggregate(String component)voidclear(String component)voidclearAsync(String component)voidcompute(String component)voidcomputeAsync(String component)BooleancontainsKey(String component)BooleancontainsValue(String component, String value)Stringget(String component, String key)StringgetOrDefault(String component)javax.json.JsonObjectinspectCamelInfinispanClientConfiguration()voidlistener(String component, String mockEndpointUri, String content)voidmanageRoute(String routeId, boolean enabled)Stringput(String component, String content)voidputAll(String component)voidputAllAsync(String component)voidputAsync(String component, String content)voidputIdempotent(String component)StringputIfAbsent(String component, String content)voidputIfAbsentAsync(String component, String content)javax.ws.rs.core.Responsequery(String component)voidremove(String component)voidremoveAsync(String component)voidreplace(String component, String content)voidreplaceAsync(String component, String content)Integersize(String component)Integerstats(String component)
-
-
-
方法详细资料
-
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
-
clear
@Path("/clear") @DELETE public void clear(@QueryParam("component") String component)
-
clearAsync
@Path("/clearAsync") @DELETE public void clearAsync(@QueryParam("component") String component) throws ExecutionException, InterruptedException, TimeoutException
-
compute
@Path("/compute") @POST public void compute(@QueryParam("component") String component)
-
computeAsync
@Path("/computeAsync") @POST public void computeAsync(@QueryParam("component") String component) throws ExecutionException, InterruptedException, TimeoutException
-
containsKey
@Path("/containsKey") @GET @Produces("text/plain") public Boolean containsKey(@QueryParam("component") String component)
-
containsValue
@Path("/containsValue") @GET @Produces("text/plain") public Boolean containsValue(@QueryParam("component") String component, @QueryParam("value") String value)
-
listener
@Path("/event/verify") @GET public void listener(@QueryParam("component") String component, @QueryParam("mockEndpointUri") String mockEndpointUri, String content) throws InterruptedException
-
get
@Path("/get") @GET @Produces("text/plain") public String get(@QueryParam("component") String component, @QueryParam("key") String key)
-
getOrDefault
@Path("/getOrDefault") @GET @Produces("text/plain") public String getOrDefault(@QueryParam("component") String component)
-
put
@Path("/put") @POST @Consumes("text/plain") @Produces("text/plain") public String put(@QueryParam("component") String component, String content)
-
putAsync
@Path("/putAsync") @POST @Consumes("text/plain") public void putAsync(@QueryParam("component") String component, String content) throws ExecutionException, InterruptedException, TimeoutException
-
putAll
@Path("/putAll") @POST public void putAll(@QueryParam("component") String component)
-
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
-
putIfAbsent
@Path("/putIfAbsent") @POST @Consumes("text/plain") @Produces("text/plain") public String putIfAbsent(@QueryParam("component") String component, String content)
-
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
@Path("/remove") @DELETE public void remove(@QueryParam("component") String component)
-
removeAsync
@Path("/removeAsync") @DELETE public void removeAsync(@QueryParam("component") String component) throws ExecutionException, InterruptedException, TimeoutException
-
replace
@Path("/replace") @PATCH @Consumes("text/plain") public void replace(@QueryParam("component") String component, String content)
-
replaceAsync
@Path("/replaceAsync") @PATCH @Consumes("text/plain") public void replaceAsync(@QueryParam("component") String component, String content) throws ExecutionException, InterruptedException, TimeoutException
-
size
@Path("/size") @GET @Produces("text/plain") public Integer size(@QueryParam("component") String component)
-
stats
@Path("/stats") @GET @Produces("text/plain") public Integer stats(@QueryParam("component") String component)
-
-