class TxState implements TransactionState, RelationshipVisitor.Home {

    @VisibleForTesting
    NodeStateImpl getOrCreateNodeState( long nodeId )
    {
        if ( nodeStatesMap == null )
        {
            nodeStatesMap = new LongObjectHashMap<>();
        }
        return nodeStatesMap.getIfAbsentPut( nodeId, () -> new NodeStateImpl( nodeId, collectionsFactory ) );
    }

    public  TxState();
    public  TxState( CollectionsFactory collectionsFactory );

}