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

com.backendless.IAtomic Maven / Gradle / Ivy

The newest version!
/*
 * ********************************************************************************************************************
 *  

* BACKENDLESS.COM CONFIDENTIAL *

* ******************************************************************************************************************** *

* Copyright 2012 BACKENDLESS.COM. All Rights Reserved. *

* NOTICE: All information contained herein is, and remains the property of Backendless.com and its suppliers, * if any. The intellectual and technical concepts contained herein are proprietary to Backendless.com and its * suppliers and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret * or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden * unless prior written permission is obtained from Backendless.com. *

* ******************************************************************************************************************** */ package com.backendless; import com.backendless.async.callback.AsyncCallback; public interface IAtomic { void reset(); void reset( AsyncCallback responder ); T get(); void get( AsyncCallback responder ); T getAndIncrement(); void getAndIncrement( AsyncCallback responder ); T incrementAndGet(); void incrementAndGet( AsyncCallback responder ); T getAndDecrement(); void getAndDecrement( AsyncCallback responder ); T decrementAndGet(); void decrementAndGet( AsyncCallback responder ); T addAndGet( Number value ); void addAndGet( Number value, AsyncCallback responder ); T getAndAdd( Number value ); void getAndAdd( Number value, AsyncCallback responder ); boolean compareAndSet( Number expected, Number updated ); void compareAndSet( Number expected, Number updated, AsyncCallback responder ); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy