blob: d07c087587456fdb3c2c9c7e526e7ff39cfe6a56 [file] [log] [blame]
package accord.api;
/**
* A client-defined update operation (the write equivalent of a query).
* Takes as input the data returned by {@code Read}, and returns a {@code Write}
* representing new information to distributed to each shard's stores.
*/
public interface Update
{
Write apply(Data data);
}