Package org.apache.jackrabbit.core.id
Class NodeIdFactory
- java.lang.Object
-
- org.apache.jackrabbit.core.id.NodeIdFactory
-
public class NodeIdFactory extends Object
A factory for creating new node ids.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SEQUENTIAL_NODE_ID
-
Constructor Summary
Constructors Constructor Description NodeIdFactory(String repositoryHome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
NodeId
newNodeId()
void
open()
void
setCacheSize(int cacheSize)
-
-
-
Field Detail
-
SEQUENTIAL_NODE_ID
public static final String SEQUENTIAL_NODE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NodeIdFactory
public NodeIdFactory(String repositoryHome)
-
-
Method Detail
-
setCacheSize
public void setCacheSize(int cacheSize)
-
open
public void open() throws RepositoryException
- Throws:
RepositoryException
-
close
public void close() throws RepositoryException
- Throws:
RepositoryException
-
newNodeId
public NodeId newNodeId() throws RepositoryException
- Throws:
RepositoryException
-
-