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


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


Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.