Package org.apache.derby.iapi.services.daemon

Examples of org.apache.derby.iapi.services.daemon.Serviceable


        tran.blockBackup(true);

    tran.logAndDo(new RemoveFileOperation(name, currentGenerationId, true));

    Serviceable s = new RemoveFile(getAsFile(name, currentGenerationId));

      tran.addPostCommitWork(s);
  }
View Full Code Here


          containerHdl.preDirty(false);
        }


        // remember this as a post commit work item
        Serviceable p = new ReclaimSpace(ReclaimSpace.CONTAINER, ckey,
                         this, true /* service ASAP */);

        if (SanityManager.DEBUG)
                {
                    if (SanityManager.DEBUG_ON(DaemonService.DaemonTrace))
View Full Code Here

    tran.logAndDo(privRemoveFileOperation(name, currentGenerationId, purgeOnCommit));

    if (purgeOnCommit) {

      Serviceable s = privRemoveFile(getAsFile(name, currentGenerationId));

      tran.addPostCommitWork(s);
    }
  }
View Full Code Here

          if (!dbOnlyProperty && key.startsWith("derby.")) {
            if (PropertyUtil.whereSet(key, d) == PropertyUtil.SET_IN_JVM)
              continue;
          }

          Serviceable s;
          if ((s = psc.apply(key,value,d)) != null)
            ((TransactionManager) tc).addPostCommitWork(s);
          if (mappedValue == null)
             mappedValue = psc.map(key, value, d);
        }
View Full Code Here

          containerHdl.preDirty(false);
        }


        // remember this as a post commit work item
        Serviceable p =
                    new ReclaimSpace(
                            ReclaimSpace.CONTAINER,
                            ckey,
                            this,
                            true /* service ASAP */);
 
View Full Code Here

          if (!dbOnlyProperty && key.startsWith("derby.")) {
            if (PropertyUtil.whereSet(key, d) == PropertyUtil.SET_IN_JVM)
              continue;
          }

          Serviceable s;
          if ((s = psc.apply(key,value,d)) != null)
            ((TransactionManager) tc).addPostCommitWork(s);
        }
      }
    }
View Full Code Here

          containerHdl.preDirty(false);
        }


        // remember this as a post commit work item
        Serviceable p =
                    new ReclaimSpace(
                            ReclaimSpace.CONTAINER,
                            ckey,
                            this,
                            true /* service ASAP */);
 
View Full Code Here

          containerHdl.preDirty(false);
        }


        // remember this as a post commit work item
        Serviceable p =
                    new ReclaimSpace(
                            ReclaimSpace.CONTAINER,
                            ckey,
                            this,
                            true /* service ASAP */);
 
View Full Code Here

                        factory.getRawStoreFactory(),
                        cm,
                        AccessFactoryGlobals.USER_TRANS_NAME);

        StorageFile ff = factory.storageFactory.newStorageFile(f);
        Serviceable s = new RemoveFile(ff);

        // Since this code is only used during upgrade to post-10.8 databases
        // we do no bother to build code for a special RemoveDirOperation and
        // do tran.logAndDo (cf. logic in #remove). If the post-commit removal
        // doesn't get completed, that is no big issue, the dirs can be removed
View Full Code Here

        tran.blockBackup(true);

    tran.logAndDo(new RemoveFileOperation(name, currentGenerationId, true));

    Serviceable s = new RemoveFile(getAsFile(name, currentGenerationId));

      tran.addPostCommitWork(s);
  }
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.services.daemon.Serviceable

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.