Examples of StandaloneFileSystemConfiguration


Examples of org.xadisk.filesystem.standalone.StandaloneFileSystemConfiguration

   private XAFileSystem getFileSystem()
   {
      if (fileSystem == null)
      {
         File xaDiskHome = OperatingSystemUtils.createTempDir();
         StandaloneFileSystemConfiguration config = new StandaloneFileSystemConfiguration(
                  xaDiskHome.getAbsolutePath(), "furnace-instance");
         config.setTransactionTimeout(3600);
         // XADISK-95
         if (OperatingSystemUtils.isWindows())
         {
            config.setSynchronizeDirectoryChanges(Boolean.FALSE);
         }
         this.fileSystem = XAFileSystemProxy.bootNativeXAFileSystem(config);
         try
         {
            this.fileSystem.waitForBootup(10000);
View Full Code Here

Examples of org.xadisk.filesystem.standalone.StandaloneFileSystemConfiguration

   private XAFileSystem getFileSystem()
   {
      if (fileSystem == null)
      {
         File xaDiskHome = OperatingSystemUtils.createTempDir();
         StandaloneFileSystemConfiguration config = new StandaloneFileSystemConfiguration(
                  xaDiskHome.getAbsolutePath(), "furnace-instance");
         config.setTransactionTimeout(600);
         // XADISK-95
         if (OperatingSystemUtils.isWindows())
         {
            config.setSynchronizeDirectoryChanges(Boolean.FALSE);
         }
         this.fileSystem = XAFileSystemProxy.bootNativeXAFileSystem(config);
         try
         {
            this.fileSystem.waitForBootup(10000);
View Full Code Here

Examples of org.xadisk.filesystem.standalone.StandaloneFileSystemConfiguration

   public void startup(@Observes @Local PostStartup startup) throws Exception
   {
      File tempDirectory = OperatingSystemUtils.getTempDirectory();
      File xaDiskHome = new File(tempDirectory, "xadisk");
      StandaloneFileSystemConfiguration config = new StandaloneFileSystemConfiguration(
               xaDiskHome.getAbsolutePath(), "furnace-instance");
      config.setTransactionTimeout(600);
      this.fileSystem = XAFileSystemProxy.bootNativeXAFileSystem(config);
      this.fileSystem.waitForBootup(10000);
   }
View Full Code Here

Examples of org.xadisk.filesystem.standalone.StandaloneFileSystemConfiguration

   private final List<ResourceTransactionListener> listeners = new CopyOnWriteArrayList<>();

   public void startup(@Observes @Local PostStartup startup) throws Exception
   {
      File xaDiskHome = OperatingSystemUtils.createTempDir();
      StandaloneFileSystemConfiguration config = new StandaloneFileSystemConfiguration(
               xaDiskHome.getAbsolutePath(), "furnace-instance");
      config.setTransactionTimeout(600);
      // XADISK-95
      if (OperatingSystemUtils.isWindows())
      {
         config.setSynchronizeDirectoryChanges(Boolean.FALSE);
      }
      this.fileSystem = XAFileSystemProxy.bootNativeXAFileSystem(config);
      this.fileSystem.waitForBootup(10000);
   }
View Full Code Here

Examples of org.xadisk.filesystem.standalone.StandaloneFileSystemConfiguration

   private FileResourceTransactionImpl transaction;

   public void startup(@Observes @Local PostStartup startup) throws Exception
   {
      File xaDiskHome = OperatingSystemUtils.createTempDir();
      StandaloneFileSystemConfiguration config = new StandaloneFileSystemConfiguration(
               xaDiskHome.getAbsolutePath(), "furnace-instance");
      config.setTransactionTimeout(600);
      // XADISK-95
      if (OperatingSystemUtils.isWindows())
      {
         config.setSynchronizeDirectoryChanges(Boolean.FALSE);
      }
      this.fileSystem = XAFileSystemProxy.bootNativeXAFileSystem(config);
      this.fileSystem.waitForBootup(10000);
   }
View Full Code Here

Examples of org.xadisk.filesystem.standalone.StandaloneFileSystemConfiguration

   private XAFileSystem getFileSystem()
   {
      if (fileSystem == null)
      {
         File xaDiskHome = OperatingSystemUtils.createTempDir();
         StandaloneFileSystemConfiguration config = new StandaloneFileSystemConfiguration(
                  xaDiskHome.getAbsolutePath(), "furnace-instance");
         config.setTransactionTimeout(3600);
         // XADISK-95
         if (OperatingSystemUtils.isWindows())
         {
            config.setSynchronizeDirectoryChanges(Boolean.FALSE);
         }
         this.fileSystem = XAFileSystemProxy.bootNativeXAFileSystem(config);
         try
         {
            this.fileSystem.waitForBootup(10000);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.