Package edu.brown.hstore

Examples of edu.brown.hstore.HStoreSite$Debug


                // HACK: Look for an HStoreSite so that we can set our name properly
                // This probably doesn't need to be synchronized
                if (THREAD_MANAGER == null) {
                    synchronized (LoggerUtil.class) {
                        if (THREAD_MANAGER == null) {
                            HStoreSite hstore_site = HStore.instance();
                            if (hstore_site != null) {
                                String name = HStoreThreadManager.getThreadName(hstore_site, HStoreConstants.THREAD_NAME_LOGGING);
                                self.setName(name);
                                THREAD_MANAGER = hstore_site.getThreadManager();
                                THREAD_MANAGER.registerProcessingThread();
                            }
                        }
                    } // SYNCH
                }
View Full Code Here


            @Override
            public void update(EventObservable<HStoreSite> o, HStoreSite arg) {
                readyLock.countDown();
            }
        };
        HStoreSite hstore_site = HStore.initialize(catalogContext, catalog_site.getId(), hstore_conf);
        hstore_site.getReadyObservable().addObserver(ready);
        Thread thread = new Thread(hstore_site);
        thread.start();
       
        // Wait at least 15 seconds or until we know that our HStoreSite has started
        boolean isReady = readyLock.await(15, TimeUnit.SECONDS);
View Full Code Here

TOP

Related Classes of edu.brown.hstore.HStoreSite$Debug

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.