Ejemplo n.º 1
0
 public override void mkdir(string newDir, cancellableDateTime deadline = null)
 {
     if (_executor == null)
     {
         throw new NotSupportedException();
     }
     _executor.mkdir(newDir, deadline);
 }
Ejemplo n.º 2
0
        public override void mkdir(string newDir, cancellableDateTime deadline = null)
        {
            if (deadline == null)
            {
                deadline = new cancellableDateTime(TimeSpan.FromSeconds(10));
            }

            doWithRetryOnSomeExceptions(() => { executor.mkdir(newDir); }, deadline);
        }