org.gcube.datatransfer.agent.impl.streams
Class Counter
java.lang.Object
org.gcube.datatransfer.agent.impl.streams.Counter
- All Implemented Interfaces:
- org.gcube.data.streams.generators.Generator<org.gcube.data.trees.data.Tree,org.gcube.data.trees.data.Tree>
public class Counter
- extends Object
- implements org.gcube.data.streams.generators.Generator<org.gcube.data.trees.data.Tree,org.gcube.data.trees.data.Tree>
- Author:
- Nikolaos Drakopoulos(CERN)
Field Summary |
protected org.gcube.common.core.utils.logging.GCUBELog |
logger
|
int |
total
|
Fields inherited from interface org.gcube.data.streams.generators.Generator |
iteration |
Method Summary |
org.gcube.data.trees.data.Tree |
yield(org.gcube.data.trees.data.Tree element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
total
public int total
logger
protected org.gcube.common.core.utils.logging.GCUBELog logger
Counter
public Counter()
yield
public org.gcube.data.trees.data.Tree yield(org.gcube.data.trees.data.Tree element)
throws org.gcube.data.streams.exceptions.StreamSkipSignal,
org.gcube.data.streams.exceptions.StreamStopSignal
- Specified by:
yield
in interface org.gcube.data.streams.generators.Generator<org.gcube.data.trees.data.Tree,org.gcube.data.trees.data.Tree>
- Throws:
org.gcube.data.streams.exceptions.StreamSkipSignal
org.gcube.data.streams.exceptions.StreamStopSignal
Copyright © 2013. All Rights Reserved.