Package net.sf.joafip.store.service.objectio.manager

Examples of net.sf.joafip.store.service.objectio.manager.ObjectIOManager


      final ReferenceLink[] referenceLinks = filePersistence
          .getAllReferenceLink();

      /* graph analyzing storage */

      final ObjectIOManager objectIOManager = filePersistence
          .getObjectIOManager();
      final IHeapDataManager dataManager = filePersistence
          .getDataManager();

      referenceLinkGraphFromStorage = new ReferenceLinkGraph();

      final Set<DataRecordIdentifier> forObjectDatarecordIdentifierSet = dataManager
          .getDataRecordIdentifierSet();
      forObjectDatarecordIdentifierSet
          .remove(new DataRecordIdentifier(0));

      Set<DataRecordIdentifier> setToUpdate = new TreeSet<DataRecordIdentifier>();
      filePersistence.usedForGarbageManagement(setToUpdate);
      filePersistence.usedForClassNameManagement(setToUpdate);
      forObjectDatarecordIdentifierSet.removeAll(setToUpdate);

      for (DataRecordIdentifier referencingDataRecordIdentifier : forObjectDatarecordIdentifierSet) {
        final ObjectLinkTreeNode objectLinkTreeNode = objectIOManager
            .getObjectLinkTreeNode(referencingDataRecordIdentifier);
        final DataRecordIdentifier[] referencedList = objectLinkTreeNode
            .getReferencedList();
        referenceLinkGraphFromStorage.addReferenced(
            referencingDataRecordIdentifier, referencedList);
View Full Code Here


        heapRecordableManager, storeHeader, classInfoFactory,
        helperBinaryConversion);
    helperBinaryConversion.initialize(classInfoFactory, null);
    final ClassLoaderProvider classLoaderProvider = new ClassLoaderProvider();
    proxyManager2 = new ProxyManager2(classLoaderProvider, classInfoFactory);
    objectIOManager = new ObjectIOManager(1, dataManager,
        true/* proxy mode */, classNameManager, storeSynchro,
        classInfoFactory, helperBinaryConversion, proxyManager2);
    objectIOManager.setGarbageManagement(true/* garbage management */, this);
    objectStateMap = objectIOManager.getObjectStateMap();
    classNameManager.load();
View Full Code Here

      final ClassNameManager classNameManager = new ClassNameManager(
          heapRecordableManager, storeHeader, classInfoFactory,
          helperBinaryConversion);
      final StoreSynchro storeSynchro = new StoreSynchro();

      objectIOManager = new ObjectIOManager(1, dataManager,
          false/* proxyMode */, classNameManager, storeSynchro,
          classInfoFactory, helperBinaryConversion, null/*
                                 * no proxy
                                 * manager
                                 */);
 
View Full Code Here

    } catch (final ProxyException exception) {
      throw new StoreException(exception);
    }

    try {
      objectIOManager = new ObjectIOManager(currentDataModelIdentifier,
          dataManager, proxyMode, classNameManager, storeSynchro,
          classInfoFactory, helperBinaryConversion, proxyManager2);
    } catch (final ObjectIOException exception) {
      throw new StoreException(exception);
    }
View Full Code Here

        .getHelperBinaryConversion();
    try {
      /*
       * a new object io manager that force proxy mode
       */
      objectIOManager = new ObjectIOManager(
          store.getCurrentDataModelIdentifier(), dataManager,
          true/* proxyMode */, classNameManager, storeSynchro,
          classInfoFactory, helperBinaryConversion,
          store.getProxyManager2());
      objectIOManager
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.service.objectio.manager.ObjectIOManager

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.