Examples of Collectors


Examples of br.com.caelum.vraptor.dash.statistics.Collectors

    Statistics statistics = session.getSessionFactory().getStatistics();

    Runtime runtime = Runtime.getRuntime();

    Collectors collectors = new Collectors(Arrays.asList(new HibernateStatisticsCollector(statistics), new RuntimeStatisticsCollector(runtime)));
    collectStatistics(collectors);

    C3P0PooledDataSource c3p0PooledDataSource = new C3P0PooledDataSource();
    result.include("maxPoolSize", c3p0PooledDataSource.getMaxPoolSize());
    result.include("initPoolSize", c3p0PooledDataSource.getInitialPoolSize());
View Full Code Here

Examples of br.com.caelum.vraptor.dash.statistics.Collectors

    Statistics statistics = session.getSessionFactory().getStatistics();

    Runtime runtime = Runtime.getRuntime();

    Collectors collectors = new Collectors(Arrays.asList(new HibernateStatisticsCollector(statistics), new RuntimeStatisticsCollector(runtime)));
    collectStatistics(collectors);

    C3P0PooledDataSource c3p0PooledDataSource = new C3P0PooledDataSource();
    result.include("maxPoolSize", c3p0PooledDataSource.getMaxPoolSize());
    result.include("initPoolSize", c3p0PooledDataSource.getInitialPoolSize());
View Full Code Here

Examples of org.geotools.gce.imagemosaic.catalog.index.Indexer.Collectors

     * Load properties collectors from the configuration
     */
    private void loadPropertyCollectors() {
        // load property collectors
        Indexer indexer = runConfiguration.getIndexer();
        Collectors collectors = indexer.getCollectors();
        if (collectors == null) {
            if (LOGGER.isLoggable(Level.FINE)) {
                LOGGER.fine("No properties collector have been found");
            }
            return;
        }
        List<Collector> collectorList = collectors.getCollector();

        // load the SPI set
        final Set<PropertiesCollectorSPI> pcSPIs = PropertiesCollectorFinder
                .getPropertiesCollectorSPI();

View Full Code Here

Examples of org.geotools.gce.imagemosaic.catalog.index.Indexer.Collectors

     *
     * @param indexer
     * @param propertyCollectors
     */
    public static void setPropertyCollectors(Indexer indexer, String propertyCollectors) {
        final Collectors collectors = Utils.OBJECT_FACTORY.createIndexerCollectors();
        indexer.setCollectors(collectors);
        final List<Collector> collectorList = collectors.getCollector();
        propertyCollectors = propertyCollectors.trim();
        if (propertyCollectors != null && propertyCollectors.length() > 0) {
            final String[] propColls = propertyCollectors.split(",");
            for (String pcDef : propColls) {
               
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.