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.connector.base
Interface Workspace

All Known Implementing Classes:
  DiskWorkspace, InfinispanWorkspace, InMemoryWorkspace, JBossCacheWorkspace, MapWorkspace, PathWorkspace, StandardMapWorkspace, SvnWorkspace

    public interface Workspace

The `MapWorkspace` stores state and other information about a workspace in a way that is independent of `Transaction`s.

Method Summary
`String` | `getName()` Returns the name of the workspace.
`boolean` | `hasNodeCache()` Indicates whether this workspace has a node cache.

Method Detail

### getName

    String getName()

  Returns the name of the workspace. There can only be one workspace with a given name per repository.

  Returns:
    the name of the workspace

### hasNodeCache

    boolean hasNodeCache()

  Indicates whether this workspace has a node cache. This method should return if the implementation is wired for cache support, even if it happens to be supporting a trivial implementation like `NoCachePolicy`.

  Returns:
    true if this workspace has a node cache

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