Package com.sun.sgs.impl.service.data.store

Examples of com.sun.sgs.impl.service.data.store.DataStoreImpl$ThreadTxnInfoTable$Entry


        DATA_STORE_CLASS_PROPERTY, DataStore.class,
        new Class[] { Properties.class, AccessCoordinator.class },
        properties, accessCoordinator);
    logger.log(Level.CONFIG, "Using data store {0}", baseStore);
      } else if (nodeType == NodeType.singleNode) {
    baseStore = new DataStoreImpl(
        properties, accessCoordinator, scheduler);
      } else {
    baseStore = new DataStoreClient(properties, accessCoordinator);
      }
            storeToShutdown = baseStore;
View Full Code Here


        new Class[] { Properties.class, ComponentRegistry.class,
          TransactionProxy.class },
        properties, systemRegistry, txnProxy);
    logger.log(Level.CONFIG, "Using data store {0}", baseStore);
      } else if (nodeType == NodeType.singleNode) {
    baseStore = new DataStoreImpl(
        properties, systemRegistry, txnProxy);
      } else {
    baseStore = new DataStoreClient(
        properties, systemRegistry, txnProxy);
      }
View Full Code Here

    /** Clean the database directory and create the data store. */
    @BeforeClass
    public static void initialize() throws Exception {
  cleanDirectory(dbDirectory);
  store = new DataStoreImpl(props, env.systemRegistry, env.txnProxy);
    }
View Full Code Here

    txn, store.createObject(txn), new byte[] { (byte) i });
  }
  txn.commit();
  txn = null;
  store.shutdown();
  store = new DataStoreImpl(props, env.systemRegistry, env.txnProxy);
  long nextId = -1;
  for (int i = 0; true; i++) {
      if (i % 40 == 0) {
    if (txn != null) {
        txn.commit();
View Full Code Here

    /* -- Other methods -- */

    /** Gets a DataStore using the default properties. */
    protected DataStore getDataStore() throws Exception {
  DataStore store = new DataStoreProfileProducer(
      new DataStoreImpl(props, env.systemRegistry, txnProxy),
      DummyProfileCoordinator.getCollector());
        DummyProfileCoordinator.startProfiling();
  return store;
    }
View Full Code Here

    }

    /** Creates a DataStore using the specified properties. */
    protected DataStore createDataStore(Properties props) throws Exception {
  DataStore store = new DataStoreProfileProducer(
      new DataStoreImpl(props, systemRegistry, txnProxy),
      DummyProfileCoordinator.getCollector());
  DummyProfileCoordinator.startProfiling();
  return store;
    }
View Full Code Here

        String.valueOf(timeoutSuccess));
    }

    /** Creates a {@link DataStoreImpl}. */
    protected DataStore createDataStore() {
  return new DataStoreImpl(props, env.systemRegistry, env.txnProxy);
    }
View Full Code Here

        new Class[] { Properties.class, ComponentRegistry.class,
          TransactionProxy.class },
        properties, systemRegistry, txnProxy);
    logger.log(Level.CONFIG, "Using data store {0}", baseStore);
      } else if (nodeType == NodeType.singleNode) {
    baseStore = new DataStoreImpl(
        properties, systemRegistry, txnProxy);
      } else {
    baseStore = new DataStoreClient(
        properties, systemRegistry, txnProxy);
      }
View Full Code Here

    }

    /** Creates a DataStore using the specified properties. */
    protected DataStore createDataStore(Properties props) throws Exception {
  DataStore store = new DataStoreProfileProducer(
      new DataStoreImpl(props, systemRegistry, txnProxy),
      DummyProfileCoordinator.getCollector());
  DummyProfileCoordinator.startProfiling();
  return store;
    }
View Full Code Here

  }

  @Override
  protected void doDelete(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {
    Entry e = entry(req);
    S3Object remove = map.remove(e);
    if (remove == null) {
      resp.sendError(404, "Not found " + e);
    } else {
      resp.sendError(HttpURLConnection.HTTP_NO_CONTENT, "Deleted");
View Full Code Here

TOP

Related Classes of com.sun.sgs.impl.service.data.store.DataStoreImpl$ThreadTxnInfoTable$Entry

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.