[JBoss JIRA] (ISPN-10147) Avoid duplicate entries for javax.cache.CachingTest in the JUnit Report
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10147?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10147:
---------------------------------
Description:
There are duplicated entries in "failsafe-reports-remote" and "failsafe-reports-embedded"
{noformat}
dlovison$ grep -r -n -i --include="*.xml" "testJCacheCachingProvider" .
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0.001"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
{noformat}
{noformat}
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-org.jsr107.tck.CacheManagerTest.xml:94: <testcase name="getCaches_MutateCacheManager" classname="org.jsr107.tck.CacheManagerTest" time="0.103"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-org.jsr107.tck.CacheManagerTest.xml:94: <testcase name="getCaches_MutateCacheManager" classname="org.jsr107.tck.CacheManagerTest" time="0.029"/>
{noformat}
was:
There are duplicated entries in "failsafe-reports-remote" and "failsafe-reports-embedded"
{noformat}
dlovison$ grep -r -n -i --include="*.xml" "testJCacheCachingProvider" .
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0.001"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
{noformat}
> Avoid duplicate entries for javax.cache.CachingTest in the JUnit Report
> -----------------------------------------------------------------------
>
> Key: ISPN-10147
> URL: https://issues.jboss.org/browse/ISPN-10147
> Project: Infinispan
> Issue Type: Bug
> Reporter: Diego Lovison
> Priority: Major
>
> There are duplicated entries in "failsafe-reports-remote" and "failsafe-reports-embedded"
> {noformat}
> dlovison$ grep -r -n -i --include="*.xml" "testJCacheCachingProvider" .
> ./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0.001"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
> {noformat}
> {noformat}
> ./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-org.jsr107.tck.CacheManagerTest.xml:94: <testcase name="getCaches_MutateCacheManager" classname="org.jsr107.tck.CacheManagerTest" time="0.103"/>
> ./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-org.jsr107.tck.CacheManagerTest.xml:94: <testcase name="getCaches_MutateCacheManager" classname="org.jsr107.tck.CacheManagerTest" time="0.029"/>
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (ISPN-10147) Avoid duplicate entries for javax.cache.CachingTest in the JUnit Report
by Diego Lovison (Jira)
Diego Lovison created ISPN-10147:
------------------------------------
Summary: Avoid duplicate entries for javax.cache.CachingTest in the JUnit Report
Key: ISPN-10147
URL: https://issues.jboss.org/browse/ISPN-10147
Project: Infinispan
Issue Type: Bug
Reporter: Diego Lovison
There are duplicated entries in "failsafe-reports-remote" and "failsafe-reports-embedded"
{noformat}
dlovison$ grep -r -n -i --include="*.xml" "testJCacheCachingProvider" .
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-remote/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0.001"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:94: <testcase name="testJCacheCachingProvider" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:96: <testcase name="testJCacheCachingProviderSystemPropertyUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:99: <testcase name="testJCacheCachingProviders" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:101: <testcase name="testJCacheCachingProviderSystemProperty" classname="javax.cache.CachingTest" time="0"/>
./infinispan/jcache/tck-runner/target/failsafe-reports-embedded/TEST-javax.cache.CachingTest.xml:103: <testcase name="testJCacheCachingProviderUsingClassLoader" classname="javax.cache.CachingTest" time="0"/>
{noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (HRJS-82) Add support for listener converters
by Galder Zamarreño (Jira)
Galder Zamarreño created HRJS-82:
------------------------------------
Summary: Add support for listener converters
Key: HRJS-82
URL: https://issues.jboss.org/browse/HRJS-82
Project: Infinispan Javascript client
Issue Type: Enhancement
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Listeners added to server should be able to pass in converter factory name to be able to get a custom event, containing more or less information. For example, one use case would be to get the value along with the key.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (ISPN-10145) Lock timeout errors do not show which cache they affect
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-10145?page=com.atlassian.jira.plugin... ]
Galder Zamarreño updated ISPN-10145:
------------------------------------
Status: Open (was: New)
> Lock timeout errors do not show which cache they affect
> -------------------------------------------------------
>
> Key: ISPN-10145
> URL: https://issues.jboss.org/browse/ISPN-10145
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Major
> Fix For: 10.0.0.Final, 9.4.13.Final
>
>
> e.g.
> {code}
> [0m[31m14:56:40,478 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (async-thread--p6-t24) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x6C6561646572626F..[11], hashCode=-1576989476}]: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 10 seconds for key WrappedByteArray{bytes=[B0x6C6561646572626F..[11], hashCode=-1576989476} and requestor CommandInvocation:datagrid-service-0:4720. Lock is held by CommandInvocation:datagrid-service-0:4712
> at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.get(DefaultLockManager.java:288) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.get(DefaultLockManager.java:218) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at org.infinispan.util.concurrent.locks.impl.InfinispanLock$LockPlaceHolder.checkState(InfinispanLock.java:436) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at org.infinispan.util.concurrent.locks.impl.InfinispanLock$LockPlaceHolder.lambda$toInvocationStage$3(InfinispanLock.java:412) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) [rt.jar:1.8.0_201]
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) [rt.jar:1.8.0_201]
> at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) [rt.jar:1.8.0_201]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_201]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_201]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_201]
> {code}
> Cache name is only added to NDC when trace is enabled, so the alternative would be for the error message to show it.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (ISPN-10145) Lock timeout errors do not show which cache they affect
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-10145?page=com.atlassian.jira.plugin... ]
Galder Zamarreño updated ISPN-10145:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6863, https://github.com/infinispan/infinispan/pull/6862
> Lock timeout errors do not show which cache they affect
> -------------------------------------------------------
>
> Key: ISPN-10145
> URL: https://issues.jboss.org/browse/ISPN-10145
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Major
> Fix For: 10.0.0.Final, 9.4.13.Final
>
>
> e.g.
> {code}
> [0m[31m14:56:40,478 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (async-thread--p6-t24) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x6C6561646572626F..[11], hashCode=-1576989476}]: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 10 seconds for key WrappedByteArray{bytes=[B0x6C6561646572626F..[11], hashCode=-1576989476} and requestor CommandInvocation:datagrid-service-0:4720. Lock is held by CommandInvocation:datagrid-service-0:4712
> at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.get(DefaultLockManager.java:288) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.get(DefaultLockManager.java:218) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at org.infinispan.util.concurrent.locks.impl.InfinispanLock$LockPlaceHolder.checkState(InfinispanLock.java:436) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at org.infinispan.util.concurrent.locks.impl.InfinispanLock$LockPlaceHolder.lambda$toInvocationStage$3(InfinispanLock.java:412) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) [rt.jar:1.8.0_201]
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) [rt.jar:1.8.0_201]
> at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) [rt.jar:1.8.0_201]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_201]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_201]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_201]
> {code}
> Cache name is only added to NDC when trace is enabled, so the alternative would be for the error message to show it.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (ISPN-10145) Lock timeout errors do not show which cache they affect
by Galder Zamarreño (Jira)
Galder Zamarreño created ISPN-10145:
---------------------------------------
Summary: Lock timeout errors do not show which cache they affect
Key: ISPN-10145
URL: https://issues.jboss.org/browse/ISPN-10145
Project: Infinispan
Issue Type: Bug
Affects Versions: 10.0.0.Beta3, 9.4.12.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 10.0.0.Final, 9.4.13.Final
e.g.
{code}
[0m[31m14:56:40,478 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (async-thread--p6-t24) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x6C6561646572626F..[11], hashCode=-1576989476}]: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 10 seconds for key WrappedByteArray{bytes=[B0x6C6561646572626F..[11], hashCode=-1576989476} and requestor CommandInvocation:datagrid-service-0:4720. Lock is held by CommandInvocation:datagrid-service-0:4712
at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.get(DefaultLockManager.java:288) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.get(DefaultLockManager.java:218) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
at org.infinispan.util.concurrent.locks.impl.InfinispanLock$LockPlaceHolder.checkState(InfinispanLock.java:436) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
at org.infinispan.util.concurrent.locks.impl.InfinispanLock$LockPlaceHolder.lambda$toInvocationStage$3(InfinispanLock.java:412) [infinispan-core-9.4.11-SNAPSHOT.jar:9.4.11-SNAPSHOT]
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) [rt.jar:1.8.0_201]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) [rt.jar:1.8.0_201]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) [rt.jar:1.8.0_201]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_201]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_201]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_201]
{code}
Cache name is only added to NDC when trace is enabled, so the alternative would be for the error message to show it.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months
[JBoss JIRA] (ISPN-10130) Remote cache calls from client listener get stuck
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-10130?page=com.atlassian.jira.plugin... ]
Galder Zamarreño commented on ISPN-10130:
-----------------------------------------
[Thread dump|https://gist.github.com/galderz/1807dfde7cfb28919c5bf6cecee8e5b8]
> Remote cache calls from client listener get stuck
> -------------------------------------------------
>
> Key: ISPN-10130
> URL: https://issues.jboss.org/browse/ISPN-10130
> Project: Infinispan
> Issue Type: Bug
> Components: Listeners, Remote Protocols
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Galder Zamarreño
> Priority: Major
> Labels: rhdemo-2019
>
> Remote cache get() call from within a ClientListener callback gets stuck, e.g.
> {code}
> @Test(testName = "client.hotrod.MusaTest")
> public class RemoteCacheGetFromListenerTest extends SingleHotRodServerTest {
> public void test000() throws InterruptedException {
> final RemoteCache<String, Object> remoteCache = remoteCacheManager.getCache();
> remoteCache.addClientListener(new RemoteListener2(remoteCache));
> remoteCache.put(UUID.randomUUID().toString(), 12345);
> Thread.sleep(1000);
> }
> @ClientListener()
> private static class RemoteListener2 {
> private final RemoteCache<String, Object> remoteCache;
> public RemoteListener2(RemoteCache<String, Object> remoteCache) {
> this.remoteCache = remoteCache;
> }
> @ClientCacheEntryCreated
> public void handleCreatedEvent(ClientCacheEntryCreatedEvent<String> event) {
> System.out.println("RemoteListener.handleCreatedEvent: " + event);
> System.out.println(remoteCache.get(event.getKey()));
> }
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 8 months