MailboxRegistration register(long leaseDuration) throws RemoteException, LeaseDeniedException
registermethod to register themselves with the service.
leaseDuration- the requested lease duration in milliseconds
leaseDurationis not positive or
RemoteException- if there is a communication failure between the client and the service.
LeaseDeniedException- if the mailbox service is unable or unwilling to grant this registration request.
Copyright © GigaSpaces.