Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javadoc fixes #5295

Merged
merged 2 commits into from Jul 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,4 @@
/**
* @public
*/
package org.infinispan.partitionhandling;
Expand Up @@ -39,10 +39,8 @@ public interface CacheWriter<K, V> extends Lifecycle {
/**
* Persist all provided entries to the store in a single batch update. If this is not supported by the
* underlying store, then entries are written to the store individually via {@link #write(MarshalledEntry)}.
* As the execution order of MarshalledEntries is not guaranteed, you should ensure that only a single entry exists
* in the Collection for a given key.
*
* @param entries a Collection of MarshalledEntry to be written to the store.
* @param entries an Iterable of MarshalledEntry to be written to the store.
* @throws NullPointerException if entries is null.
*/
default void writeBatch(Iterable<MarshalledEntry<? extends K, ? extends V>> entries) {
Expand All @@ -52,10 +50,8 @@ default void writeBatch(Iterable<MarshalledEntry<? extends K, ? extends V>> entr
/**
* Remove all provided keys from the store in a single batch operation. If this is not supported by the
* underlying store, then keys are removed from the store individually via {@link #delete(Object)}.
* As the execution order of MarshalledEntries is not guaranteed, you should ensure that only a single entry exists
* in the Collection for a given key.
*
* @param keys a Collection of MarshalledEntry to be removed from the store.
* @param keys an Iterable of entry Keys to be removed from the store.
* @throws NullPointerException if keys is null.
*/
default void deleteBatch(Iterable<Object> keys) {
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/main/asciidoc/user_guide/clustering.adoc
Expand Up @@ -811,7 +811,7 @@ crashes, the result is partial data loss.

The partition handling functionality discussed in this section allows the user to configure what operations can be
performed on a cache in the event of a split brain occurring. Infinispan provides multiple partition handling strategies,
which in terms of of Brewer's link:http://en.wikipedia.org/wiki/CAP_theorem[CAP theorem] determine whether availability or
which in terms of Brewer's link:http://en.wikipedia.org/wiki/CAP_theorem[CAP theorem] determine whether availability or
consistency is sacrificed in the presence of partition(s). Below is a list of the provided strategies:

|===
Expand Down