Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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

    public 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

    public void destroy()
                 throws IOException

  Destroy any persistent state and release any resources associated with this store.

  Throws:
    `IOException`

### close

    public 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved