Skip navigation links
GigaSpaces 15.8.0 API
com.gigaspaces.lrmi

Class OneWayMethodRepository

    • Constructor Detail

      • OneWayMethodRepository

        public OneWayMethodRepository()
    • Method Detail

      • register

        public static void register(IMethod method)
                             throws IllegalArgumentException
        Register one way remote method to the underlying transport protocol.
        Important: The declaring class of provided method must be an interface and extends from java.rmi.Remote interface.
        Throws:
        IllegalArgumentException - The provided method is not instance of Remote interface.
      • isOneWay

        public static boolean isOneWay(IMethod method)
        Check whether the Method registered as one-way to the underlying transport protocol.
        Parameters:
        method - the method to check.
        Returns:
        true if the method registered as one-way, otherwise false.

Copyright © GigaSpaces.