org.apache.jackrabbit.core.id
Class NodeIdFactory

java.lang.Object
  extended by org.apache.jackrabbit.core.id.NodeIdFactory

public class NodeIdFactory
extends Object

A factory for creating new node ids.


Field Summary
static String SEQUENTIAL_NODE_ID
           
 
Constructor Summary
NodeIdFactory(String repositoryHome)
           
 
Method Summary
 void close()
           
 NodeId newNodeId()
           
 void open()
           
 void setCacheSize(int cacheSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.