[JBoss JIRA] (ISPN-8809) Create test for state transfer turned off
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-8809:
-------------------------------------
Summary: Create test for state transfer turned off
Key: ISPN-8809
URL: https://issues.jboss.org/browse/ISPN-8809
Project: Infinispan
Issue Type: Task
Components: Test Suite - Server
Affects Versions: 9.2.0.CR1
Reporter: Vojtech Juranek
Assignee: Vojtech Juranek
Create IT which would tests that entries are correctly loaded from appropriate nodes when state transfer on the cache is turned off.
Also check {{StateTransferSuppressIT}} which seems that contrary to its name has state transfer turned on.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8808) RemoteCacheManagerAdmin should return always a RemoteCache
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-8808?page=com.atlassian.jira.plugin.... ]
Diego Lovison moved JDG-1553 to ISPN-8808:
------------------------------------------
Project: Infinispan (was: JBoss Data Grid)
Key: ISPN-8808 (was: JDG-1553)
Workflow: GIT Pull Request with Triage workflow (was: CDW with loose statuses v1)
Component/s: (was: HotRod Java client)
Affects Version/s: (was: JDG 7.2 ER3)
> RemoteCacheManagerAdmin should return always a RemoteCache
> ----------------------------------------------------------
>
> Key: ISPN-8808
> URL: https://issues.jboss.org/browse/ISPN-8808
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Diego Lovison
> Assignee: Galder Zamarreño
>
> After [JDG-1534|https://issues.jboss.org/browse/JDG-1534], we can create a cache using a configuration in the client side.
> In this case, when creating a cache with the configuration, RemoteCacheManagerAdmin is returning a BasicCache.
> The only way to get the RemoteCache is doing the following
> {code:java}
> BasicCache<String, String> cache = cacheManager.administration()
> .withFlags(CacheContainerAdmin.AdminFlag.PERMANENT)
> .getOrCreateCache("test-5", config.build());
> RemoteCache<String, String> remoteCache = cacheManager.getCache("test-5");
> MyListener myListener = new MyListener();
> remoteCache.addClientListener(myListener);
> {code}
> It will be good if RemoteCacheManagerAdmin always return a RemoteCache
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8808) RemoteCacheManagerAdmin should return always a RemoteCache
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-8808?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-8808:
--------------------------------
Description:
After [ISPN-8808|https://issues.jboss.org/browse/ISPN-8808], we can create a cache using a configuration in the client side.
In this case, when creating a cache with the configuration, RemoteCacheManagerAdmin is returning a BasicCache.
The only way to get the RemoteCache is doing the following
{code:java}
BasicCache<String, String> cache = cacheManager.administration()
.withFlags(CacheContainerAdmin.AdminFlag.PERMANENT)
.getOrCreateCache("test-5", config.build());
RemoteCache<String, String> remoteCache = cacheManager.getCache("test-5");
MyListener myListener = new MyListener();
remoteCache.addClientListener(myListener);
{code}
It will be good if RemoteCacheManagerAdmin always return a RemoteCache
was:
After [JDG-1534|https://issues.jboss.org/browse/JDG-1534], we can create a cache using a configuration in the client side.
In this case, when creating a cache with the configuration, RemoteCacheManagerAdmin is returning a BasicCache.
The only way to get the RemoteCache is doing the following
{code:java}
BasicCache<String, String> cache = cacheManager.administration()
.withFlags(CacheContainerAdmin.AdminFlag.PERMANENT)
.getOrCreateCache("test-5", config.build());
RemoteCache<String, String> remoteCache = cacheManager.getCache("test-5");
MyListener myListener = new MyListener();
remoteCache.addClientListener(myListener);
{code}
It will be good if RemoteCacheManagerAdmin always return a RemoteCache
> RemoteCacheManagerAdmin should return always a RemoteCache
> ----------------------------------------------------------
>
> Key: ISPN-8808
> URL: https://issues.jboss.org/browse/ISPN-8808
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Diego Lovison
> Assignee: Galder Zamarreño
>
> After [ISPN-8808|https://issues.jboss.org/browse/ISPN-8808], we can create a cache using a configuration in the client side.
> In this case, when creating a cache with the configuration, RemoteCacheManagerAdmin is returning a BasicCache.
> The only way to get the RemoteCache is doing the following
> {code:java}
> BasicCache<String, String> cache = cacheManager.administration()
> .withFlags(CacheContainerAdmin.AdminFlag.PERMANENT)
> .getOrCreateCache("test-5", config.build());
> RemoteCache<String, String> remoteCache = cacheManager.getCache("test-5");
> MyListener myListener = new MyListener();
> remoteCache.addClientListener(myListener);
> {code}
> It will be good if RemoteCacheManagerAdmin always return a RemoteCache
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month