public interface RmiSharedCounters extends Remote
SharedCounters.| Modifier and Type | Method and Description |
|---|---|
long |
add(int index,
long i)
RMI version of
SharedCounters.add(int,long). |
void |
decrement(int index)
RMI version of
SharedCounters.decrement(int). |
long |
decrementAndRead(int index)
RMI version of
SharedCounters.decrementAndRead(int). |
long[] |
getCounterValues()
RMI version of
SharedCounters.getCounterValues(). |
void |
increment(int index)
RMI version of
SharedCounters.increment(int). |
long |
incrementAndRead(int index)
RMI version of
SharedCounters.incrementAndRead(int). |
long |
read(int index)
RMI version of
SharedCounters.read(int). |
void |
setIfLarger(int index,
long i)
RMI version of
SharedCounters.setIfLarger(int,long). |
void |
setIfSmaller(int index,
long i)
RMI version of
SharedCounters.setIfSmaller(int,long). |
long |
subtract(int index,
long i)
RMI version of
SharedCounters.subtract(int,long). |
void |
zero(int index)
RMI version of
SharedCounters.zero(int). |
long read(int index) throws RemoteException
SharedCounters.read(int).RemoteExceptionlong add(int index,
long i)
throws RemoteException
SharedCounters.add(int,long).RemoteExceptionlong subtract(int index,
long i)
throws RemoteException
SharedCounters.subtract(int,long).RemoteExceptionvoid increment(int index)
throws RemoteException
SharedCounters.increment(int).RemoteExceptionvoid decrement(int index)
throws RemoteException
SharedCounters.decrement(int).RemoteExceptionlong incrementAndRead(int index)
throws RemoteException
SharedCounters.incrementAndRead(int).RemoteExceptionlong decrementAndRead(int index)
throws RemoteException
SharedCounters.decrementAndRead(int).RemoteExceptionvoid zero(int index) throws RemoteException
SharedCounters.zero(int).RemoteExceptionvoid setIfLarger(int index,
long i)
throws RemoteException
SharedCounters.setIfLarger(int,long).RemoteExceptionvoid setIfSmaller(int index,
long i)
throws RemoteException
SharedCounters.setIfSmaller(int,long).RemoteExceptionlong[] getCounterValues()
throws RemoteException
SharedCounters.getCounterValues().RemoteExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.