Examples of PolledRefreshingStrategy


Examples of fr.soleil.data.service.PolledRefreshingStrategy

        final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
                .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
        // factory.setRefreshingStrategy(factory.createDataSource(key),
        // RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD,
        // this.refreshingPeriod);
        factory.setRefreshingStrategy(key, new PolledRefreshingStrategy(refreshingPeriod));
        // p�riode par d�faut
        // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
    }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

            final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
                    .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
            // factory.setRefreshingStrategy(factory.createDataSource(key),
            // RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD,
            // this.refreshingPeriod);
            factory.setRefreshingStrategy(key, new PolledRefreshingStrategy(refreshingPeriod));
            // p�riode par d�faut
            // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
        }

    }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

            final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
                    .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
            // factory.setRefreshingStrategy(factory.createDataSource(key),
            // RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD,
            // this.refreshingPeriod);
            factory.setRefreshingStrategy(key, new PolledRefreshingStrategy(refreshingPeriod));
            // p�riode par d�faut
            // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
        }

    }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

            final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
                    .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
            // factory.setRefreshingStrategy(factory.createDataSource(key),
            // RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD,
            // this.refreshingPeriod);
            factory.setRefreshingStrategy(key, new PolledRefreshingStrategy(refreshingPeriod));
            // p�riode par d�faut
            // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
        }

    }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

    final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
        .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
    // factory.setRefreshingStrategy(factory.createDataSource(key),
    // RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD,
    // this.refreshingPeriod);
    factory.setRefreshingStrategy(key, new PolledRefreshingStrategy(
        refreshingPeriod));
    // p�riode par d�faut
    // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
  }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

            final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
                    .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
            // factory.setRefreshingStrategy(factory.createDataSource(key),
            // RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD,
            // this.refreshingPeriod);
            factory.setRefreshingStrategy(key, new PolledRefreshingStrategy(refreshingPeriod));
            // p�riode par d�faut
            // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
        }

    }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

    protected void updateRefreshingPeriod(IKey key) {
        if (key != null) {
            IDataSourceProducer producer = DataSourceProducerProvider.getProducer(key.getSourceProduction());
            if (producer instanceof AbstractRefreshingManager<?>) {
                ((AbstractRefreshingManager<?>) producer).setRefreshingStrategy(key, new PolledRefreshingStrategy(
                        (int) periodSwitch.getValue()));
                // We transmit refreshing strategy to sub-key
                if (key instanceof HistoryKey) {
                    updateRefreshingPeriod(((HistoryKey) key).getHistory());
                }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

    final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
        .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
    // factory.setRefreshingStrategy(factory.createDataSource(key),
    // RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD,
    // this.refreshingPeriod);
    factory.setRefreshingStrategy(key, new PolledRefreshingStrategy(
        refreshingPeriod));
    // p�riode par d�faut
    // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
  }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

    protected void applyRefreshingPeriod() {
        if (boxType != null) {
            if (boxType.isTargetConnected(readWidget, keyRead)) {
                final TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
                        .getProducer(TangoDataSourceFactory.SOURCE_PRODUCER_ID);
                factory.setRefreshingStrategy(keyRead, new PolledRefreshingStrategy(
                        refreshingPeriod));
                // p�riode par d�faut
                // TangoDataSourceFactory.DEFAULT_SLEEPING_PERIOD
            }
        }
View Full Code Here

Examples of fr.soleil.data.service.PolledRefreshingStrategy

    }

    @Override
    protected void applyRefreshingPeriod() {
        if (mybox.isTargetConnected(widget, key)) {
            setRefreshingStrategy(new PolledRefreshingStrategy(refreshingPeriod));
        }
    }
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.