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

## org.modeshape.graph.search
Interface SearchEngineWorkspace

    public interface SearchEngineWorkspace

The representation of the persisted state of the indexes needed for searching.

Method Summary
`void` | `destroy(ExecutionContext context)` Destroy the indexes for the workspace with the supplied name.
`String` | `getWorkspaceName()` Get the name of the workspace.

Method Detail

### getWorkspaceName

    String getWorkspaceName()

  Get the name of the workspace.

  Returns:
    the workspace name; never null

### destroy

    void destroy(ExecutionContext context)
                 throws IOException

  Destroy the indexes for the workspace with the supplied name.

  Parameters:
    `context` - the execution context in which the destruction should be performed; may not be null
  Throws:
    `IOException` - if there is a problem destroying the indexes

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 © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.