public abstract class ScheduledDataSource extends AbstractInputDataSource
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.ScheduledFuture<?> |
future |
protected java.util.concurrent.ScheduledExecutorService |
scheduler |
protected int |
timeDiff |
loggerDATA_SOURCE_ID| Constructor and Description |
|---|
ScheduledDataSource(java.util.concurrent.ScheduledExecutorService scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected static double |
getDouble(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String key,
double defaultValue) |
protected java.util.concurrent.Executor |
getExecutor()
Return the executor to use for sending out events
|
protected static int |
getInteger(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String key,
int defaultValue) |
protected static long |
getLong(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String key,
long defaultValue) |
protected abstract void |
tick() |
void |
update(java.util.Map<java.lang.String,java.lang.String> properties) |
startWriteAttributes, startWriteValueaddListener, removeListener, updateDataprotected int timeDiff
protected final java.util.concurrent.ScheduledExecutorService scheduler
protected java.util.concurrent.ScheduledFuture<?> future
public ScheduledDataSource(java.util.concurrent.ScheduledExecutorService scheduler)
protected abstract void tick()
protected java.util.concurrent.Executor getExecutor()
AbstractDataSourcegetExecutor in class AbstractDataSourcenullpublic void dispose()
protected static int getInteger(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String key,
int defaultValue)
protected static double getDouble(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String key,
double defaultValue)
protected static long getLong(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String key,
long defaultValue)
public void update(java.util.Map<java.lang.String,java.lang.String> properties)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0