public interface RemoteMethod extends Serializable
RemoteInfo.| Modifier and Type | Method and Description |
|---|---|
CallMode |
getAsynchronousCallMode()
Returns the asynchronous call mode, or null if not asynchronous.
|
Set<? extends RemoteParameter<? extends Throwable>> |
getExceptionTypes()
Returns the method exception types in an unmodifiable set.
|
int |
getMethodId()
Returns a unique identifier for this method, within the scope of its
enclosing type.
|
String |
getName()
Returns the name of this method.
|
List<? extends RemoteParameter<?>> |
getParameterTypes()
Returns the method parameters in an unmodifiable list.
|
RemoteParameter<? extends Throwable> |
getRemoteFailureException() |
RemoteParameter<?> |
getReturnType()
Returns the return type of this method, which is null if void.
|
String |
getSignature()
Returns a Java-syntax signature for method.
|
long |
getTimeout()
Returns the method timeout, which was either explicitly defined or
inherited from its enclosing interface.
|
TimeUnit |
getTimeoutUnit()
Returns the method timeout unit, which was either explicitly defined or
inherited from its enclosing interface.
|
Trace |
getTraceAnnotation()
Returns the optional trace annotation for this method, which is not serailized.
|
boolean |
isAsynchronous()
Returns true if this method is asynchronous.
|
boolean |
isBatched()
Returns true if this method is batched, which implies that it is
asynchronous.
|
boolean |
isDisposer() |
boolean |
isOrdered() |
boolean |
isRemoteFailureExceptionDeclared() |
boolean |
isUnbatched()
Returns true if this method should never be included in a batch.
|
String getName()
int getMethodId()
RemoteParameter<?> getReturnType()
List<? extends RemoteParameter<?>> getParameterTypes()
Set<? extends RemoteParameter<? extends Throwable>> getExceptionTypes()
String getSignature()
boolean isAsynchronous()
AsynchronousCallMode getAsynchronousCallMode()
Asynchronousboolean isBatched()
Batchedboolean isUnbatched()
Unbatchedboolean isOrdered()
Orderedboolean isDisposer()
DisposerRemoteParameter<? extends Throwable> getRemoteFailureException()
boolean isRemoteFailureExceptionDeclared()
long getTimeout()
TimeUnit getTimeoutUnit()
Trace getTraceAnnotation()
Copyright © 2006–2015 Cojen. All rights reserved.