@Retention(value=RUNTIME) @Target(value=METHOD) public @interface OneWayRemoteCall
The remote interface method with defined annotation will be called as one
way remote call without return value and without being blocking on the server while the
remote call will be execute by Remote implementation.(Improves the performance dramatically) or
thrown java.rmi.RemoteException on communication problem with ServerEndPoint.
Notice: The
underlining communication network protocol is responsible to register one-way methods of desired
remote interfaces. Example how to define specific one-way method of remote interface.
public interface MyRemoteEcho extends Remote {
Copyright © GigaSpaces.