public String addIsAttachedEdge(String resource_id, String inode_id, String region, String agent, String plugin)
    {
        String edge_id = null;

        int count = 0;
        try
        {

            while((edge_id == null) && (count != retryCount))
            {
                if(count > 0)
                {
                    Thread.sleep((long)(Math.random() * 1000)); //random wait to prevent sync error
                }
                edge_id = IaddIsAttachedEdge(resource_id, inode_id, region, agent, plugin);
                count++;

            }

            if((edge_id == null) && (count == retryCount))
            {
                System.out.println("GraphDBEngine : addIsAttachedEdge : Failed to add edge in " + count + " retrys");
            }
        }
        catch(Exception ex)
        {
            System.out.println("GraphDBEngine : addIsAttachedEdge : Error " + ex.toString());
        }

        return edge_id;
    }