class NodeRelationshipCache implements MemoryStatsVisitor.Visitable, AutoCloseable {

    public void setNodeCount( long nodeCount )
    {
        if ( nodeCount - 1 > BigIdTracker.MAX_ID )
        {
            throw new IllegalArgumentException( format( "Invalid number of nodes %d. Max is %d", nodeCount, BigIdTracker.MAX_ID ) );
        }

        this.highNodeId = nodeCount;
        this.array = arrayFactory.newByteArray( highNodeId, minusOneBytes( ID_AND_COUNT_SIZE ) );
        this.chunkChangedArray = new byte[chunkOf( nodeCount ) + 1];
    }

    public  NodeRelationshipCache( NumberArrayFactory arrayFactory, int denseNodeThreshold );
      NodeRelationshipCache( NumberArrayFactory arrayFactory, int denseNodeThreshold, int chunkSize, long base );

}