Interface DataRequestRpc

  • All Superinterfaces:
    Serializable, ServerRpc

    public interface DataRequestRpc
    extends ServerRpc
    RPC interface used for requesting container data to the client.
    Since:
    7.4
    Author:
    Vaadin Ltd
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void dropRows​(JsonArray rowKeys)
      Informs the server that items have been dropped from the client cache.
      void requestRows​(int firstRowIndex, int numberOfRows, int firstCachedRowIndex, int cacheSize)
      Request rows from the server.
    • Method Detail

      • requestRows

        @NoLoadingIndicator
        void requestRows​(int firstRowIndex,
                         int numberOfRows,
                         int firstCachedRowIndex,
                         int cacheSize)
        Request rows from the server.
        Parameters:
        firstRowIndex - the index of the first requested row
        numberOfRows - the number of requested rows
        firstCachedRowIndex - the index of the first cached row
        cacheSize - the number of cached rows
      • dropRows

        @Delayed
        @NoLoadingIndicator
        void dropRows​(JsonArray rowKeys)
        Informs the server that items have been dropped from the client cache.
        Parameters:
        rowKeys - array of dropped keys mapping to items
        Since:
        7.6