com.sun.jini.outrigger
Interface StoredResource


public interface StoredResource

Interface for a stored resource. Objects implementing this interface are passed into calls to Recover objects. This objects represented by this interface are resources that have expiration times (LeasedResource).

See Also:
Recover

Method Summary
 void restore(StorableResource obj)
          Restore the state of a StorableResource.
 

Method Detail

restore

void restore(StorableResource obj)
             throws IOException,
                    ClassNotFoundException
Restore the state of a StorableResource. The resource to be restored will have its expiration set before this method returns.

Parameters:
obj - resource to restore
Throws:
IOException
ClassNotFoundException
See Also:
LogOps.renewOp(net.jini.id.Uuid, long)


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.