diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-08-21 14:17:17 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-08-21 12:33:15 +0000 |
commit | 5db6f100da4c66ce394dffdfe16689be188314f1 (patch) | |
tree | 100e54973df6c51e874101533c2151c33de329d2 /shared | |
parent | d40df1dc68f166bc23609d631420a34d1a0f2adf (diff) | |
download | vaadin-framework-5db6f100da4c66ce394dffdfe16689be188314f1.tar.gz vaadin-framework-5db6f100da4c66ce394dffdfe16689be188314f1.zip |
Fix AbstractRemoteDataSource cache clearing (#18630)
This patch also reduces the amount of RPC calls when dropping rows from
cache.
Change-Id: Ib69a807883bc885dcd877a008cec16e44fa2bfdd
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/data/DataRequestRpc.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/shared/src/com/vaadin/shared/data/DataRequestRpc.java b/shared/src/com/vaadin/shared/data/DataRequestRpc.java index 84216f0fab..041e92d05c 100644 --- a/shared/src/com/vaadin/shared/data/DataRequestRpc.java +++ b/shared/src/com/vaadin/shared/data/DataRequestRpc.java @@ -20,6 +20,8 @@ import com.vaadin.shared.annotations.Delayed; import com.vaadin.shared.annotations.NoLoadingIndicator; import com.vaadin.shared.communication.ServerRpc; +import elemental.json.JsonArray; + /** * RPC interface used for requesting container data to the client. * @@ -59,13 +61,13 @@ public interface DataRequestRpc extends ServerRpc { public void setPinned(String key, boolean isPinned); /** - * Informs the server that an item is dropped from the client cache. + * Informs the server that items have been dropped from the client cache. * * @since - * @param rowKey - * key mapping to item + * @param rowKeys + * array of dropped keys mapping to items */ @Delayed @NoLoadingIndicator - public void dropRow(String rowKey); + public void dropRows(JsonArray rowKeys); } |