All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.ravendb.client.documents.session.ISessionDocumentCountersBase Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
package net.ravendb.client.documents.session;

/**
 * Counters advanced synchronous session operations
 */
public interface ISessionDocumentCountersBase {

    /**
     * Increments the value of a counter
     * @param counter the counter name
     */
    void increment(String counter);

    /**
     * Increments by delta the value of a counter
     * @param counter the counter name
     * @param delta increment delta
     */
    void increment(String counter, long delta);

    /**
     * Marks the specified document's counter for deletion. The counter will be deleted when
     * saveChanges is called.
     * @param counter The counter name
     */
    void delete(String counter);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy