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

Examples of com.sun.sgs.impl.service.data.store.cache.CachingDataStore


      Field serverPortField =
    DataStoreClient.class.getDeclaredField("serverPort");
      serverPortField.setAccessible(true);
      return (Integer) serverPortField.get(dsClient);
  } else if (dataStore instanceof CachingDataStore) {
      CachingDataStore cachingDataStore = (CachingDataStore) dataStore;
      Field localServerField =
    CachingDataStore.class.getDeclaredField("localServer");
      localServerField.setAccessible(true);
      CachingDataStoreServerImpl server = (CachingDataStoreServerImpl)
    localServerField.get(cachingDataStore);
View Full Code Here


    /** Create a {@link CachingDataStore}. */
    @Override
    protected DataStore createDataStore(Properties props) throws Exception {
  DataStore store = new DataStoreProfileProducer(
      new CachingDataStore(props, systemRegistry, txnProxy),
      DummyProfileCoordinator.getCollector());
  DummyProfileCoordinator.startProfiling();
  store.ready();
  return store;
    }
View Full Code Here

  props.setProperty(NODE_TYPE, nodeType);
  props.setProperty(SERVER_HOST_PROPERTY, host);
  props.setProperty(SERVER_PORT_PROPERTY, String.valueOf(port));
  props.setProperty(DIRECTORY_PROPERTY, directory);
  DataStore store = new DataStoreProfileProducer(
      new CachingDataStore(props, env.systemRegistry, txnProxy),
      DummyProfileCoordinator.getCollector());
  DummyProfileCoordinator.startProfiling();
  return store;
    }
View Full Code Here

TOP

Related Classes of com.sun.sgs.impl.service.data.store.cache.CachingDataStore

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.