public class RmiSharedCountersImpl extends java.rmi.server.UnicastRemoteObject implements RmiSharedCounters
| Constructor and Description |
|---|
RmiSharedCountersImpl(long[] initialValues) |
clone, exportObject, exportObject, exportObject, unexportObjectpublic RmiSharedCountersImpl(long[] initialValues)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected static void bind(java.lang.String name,
RmiSharedCounters value)
protected static RmiSharedCounters lookup(java.lang.String name) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic long read(int index)
throws java.rmi.RemoteException
RmiSharedCounters.read(int).read in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic long add(int index,
long i)
throws java.rmi.RemoteException
RmiSharedCounters.add(int,long).add in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic long subtract(int index,
long i)
throws java.rmi.RemoteException
RmiSharedCounters.subtract(int,long).subtract in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic void increment(int index)
throws java.rmi.RemoteException
RmiSharedCounters.increment(int).increment in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic void decrement(int index)
throws java.rmi.RemoteException
RmiSharedCounters.decrement(int).decrement in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic long incrementAndRead(int index)
throws java.rmi.RemoteException
RmiSharedCounters.incrementAndRead(int).incrementAndRead in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic long decrementAndRead(int index)
throws java.rmi.RemoteException
RmiSharedCounters.decrementAndRead(int).decrementAndRead in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic void zero(int index)
throws java.rmi.RemoteException
RmiSharedCounters.zero(int).zero in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic void setIfLarger(int index,
long i)
throws java.rmi.RemoteException
RmiSharedCounters.setIfLarger(int,long).setIfLarger in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic void setIfSmaller(int index,
long i)
throws java.rmi.RemoteException
RmiSharedCounters.setIfSmaller(int,long).setIfSmaller in interface RmiSharedCountersjava.rmi.RemoteExceptionpublic long[] getCounterValues()
throws java.rmi.RemoteException
RmiSharedCounters.getCounterValues().getCounterValues in interface RmiSharedCountersjava.rmi.RemoteExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.