Package com.netflix.priam.utils

Examples of com.netflix.priam.utils.RetryableCallable


    for (final File file : archivedCommitLogDir.listFiles())
    {
      logger.debug(String.format("Uploading commit log %s for backup", new Object[] { file.getCanonicalFile() }));
      try
      {
        AbstractBackupPath abp = (AbstractBackupPath)new RetryableCallable(3, 100L)
        {
          public AbstractBackupPath retriableCall() throws Exception
          {

            AbstractBackupPath bp = (AbstractBackupPath) pathFactory.get();
View Full Code Here


  }

  private void upload(final AbstractBackupPath bp)
    throws Exception
  {
    new RetryableCallable()
    {
      public Void retriableCall()
        throws Exception
      {
        fs.upload(bp, bp.localReader());
View Full Code Here

TOP

Related Classes of com.netflix.priam.utils.RetryableCallable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.