com.sun.jini.outrigger
Interface Store

All Known Implementing Classes:
LogStore

public interface Store

This interface defines the methods that any OutriggerServerImpl store must implement.

Author:
Sun Microsystems, Inc.
See Also:
OutriggerServerImpl, LogOps, Recover

Method Summary
 void close()
          Close the store, release VM resources (stop independent threads, close files, etc.) but do not destroy any persistent state.
 void destroy()
          Destroy any persistent state and release any resources associated with this store.
 LogOps setupStore(Recover space)
          Set up the store.
 

Method Detail

setupStore

LogOps setupStore(Recover space)
Set up the store. Recovery (if any) will be completed before this method returns. That is, no calls will be made by setupStore on the Recover object after it returns.

Parameters:
space - object used for recovery of previous state (if any)
Returns:
object used to persist state

destroy

void destroy()
             throws IOException
Destroy any persistent state and release any resources associated with this store.

Throws:
IOException

close

void close()
           throws IOException
Close the store, release VM resources (stop independent threads, close files, etc.) but do not destroy any persistent state. This method is used when there is a failure in OutriggerServerImpl constructor.

Throws:
IOException


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