I have been trying to implement a project that would always store an particular value in an particular node in Infinispan 8.1.If that node is down,the values in that cache should be moved to another node. I have heard about Grouping api which supports my requirement,But, i just want to confirm that if that node is down,whether all the values will be moved to the secondary owner node or not.
Grouping api in Infinispan
118 Views Asked by karthi keyan At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in INFINISPAN
- Wildfly - Infinispan Transactions configuration
- Infinispan remote cache access
- "experimental" status of JGroups Master/Slave backend for hibernate search and infinispan
- Configure Infinispan as second level cache in Hibernate
- Usage of RemoteCache with DeltaAware and Delta interface infinispan
- Configure JBOSS Infinispan for using hibernate level 2 caching
- Infinispan not using specified JGroups configuration file and throwing Exception
- Infinispan with File Store with Replication enabled
- Infinispan Distributed Cache Issues
- Infinispan Clustered Cache & JGroups - Servers don't see each other
- Use infinispan 7 for wildfly 8.1.0
- WildFly 8.2.0 and Infinispan 6.0.2 CacheContainer Injection error
- IncompatibleClassChangeError in Infinispan an Hibernate integration
- java infinispan the easiest example
- Infinispan failover capability
Related Questions in INFINISPAN-8
- Infinispan-8 blocking state during iteration through cache
- How to enable JGroups logging in Infinispan
- Infinispan - Hibernate 2nd Level Cache Cluster Marshaling issue
- Wildfly 10 Infinispan JCache: @CacheResult causes "Member of array type or annotation type must be annotated @NonBinding"
- lost data when stopping server [Infinispan]
- CacheException:Unable to invoke public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
- Infinispan distributed cache across multiple servers
- Infinispan 8.0.1 crashing when I remove a member from the cluster
- How to configure persistent storage for jboss datagrid openshift image?
- infinispan hibernate 2nd level cache - XML Configuration format required
- Infinispan 8.2.11 and Jgroups 3.6.x compatibility
- How can I enable versioning?
- Is it vaild to put the "numOwners" to more than 1 in Infinispan when shared JDBC cache store is in place?
- Are staggered remote GETs implemented for replicated caches as well?
- Standalone/Domain Model not available in Infinispan server 10 and 11 version
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Grouping API doesn't guarantee that an entry is stored on a particular node. It guarantees that entries in the same group are stored on the same node [1].
The KeyAffinity API [2] can help ensure that an entry is stored on a specific node. However it will only be stored on that specific node under a stable topology. If the topology changes there are no guarantees that it is still stored on that node, even if it is still around.
In either case if you are using a Distributed cache with at least numOwners >= 2, then the data will be retained (and moved between nodes as needed) as long as you don't have concurrent failures >= numOwners.
[1] http://infinispan.org/docs/dev/user_guide/user_guide.html#grouping
[2] http://infinispan.org/docs/dev/user_guide/user_guide.html#KeyAffinityService