All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.xsite.XSiteBackup Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.xsite;

/**
 * @author Mircea Markus
 * @since 5.2
 */
public class XSiteBackup {
   private String siteName;
   private boolean sync;
   private long timeout;


   public XSiteBackup(String siteName, boolean sync, long timeout) {
      this.siteName = siteName;
      this.sync = sync;
      this.timeout = timeout;
   }

   public String getSiteName() {
      return siteName;
   }

   public boolean isSync() {
      return sync;
   }

   public long getTimeout() {
      return timeout;
   }

   public String toString() {
      return siteName + " (" + (sync? "sync" : "async") + ", timeout=" + timeout + ")";
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy