public interface

ProxyStore

com.google.gwt.requestfactory.shared.ProxyStore
Known Indirect Subclasses

Class Overview

A ProxyStore provides a ProxySerializer with access to a low-level persistence mechanism. The ProxyStore does not need to be able to interpret the data sent to it by the ProxySerializer; it is merely a wrapper around a persistence mechanism.

Summary

Public Methods
abstract Splittable get(String key)
Called by ProxySerializer to retrieve a value previously provided to put(String, Splittable).
abstract int nextId()
Returns a non-negative sequence number.
abstract void put(String key, Splittable value)
Called by ProxySerializer to store a value.

Public Methods

public abstract Splittable get (String key)

Called by ProxySerializer to retrieve a value previously provided to put(String, Splittable).

Parameters
key the key
Returns
  • the associated value or null if key is unknown

public abstract int nextId ()

Returns a non-negative sequence number. The actual sequence of values returned by this method is unimportant, as long as the numbers in the sequence are unique.

public abstract void put (String key, Splittable value)

Called by ProxySerializer to store a value.

Parameters
key a key value that will be passed to get(String)
value the data to store
See Also