Class EthBlockProcessor
java.lang.Object
app.keyconnect.chainbase.indexers.EthBlockProcessor
- All Implemented Interfaces:
java.util.function.Consumer<org.web3j.protocol.core.methods.response.EthBlock.Block>
public class EthBlockProcessor
extends java.lang.Object
implements java.util.function.Consumer<org.web3j.protocol.core.methods.response.EthBlock.Block>
-
Constructor Summary
Constructors Constructor Description EthBlockProcessor(EthTransactionRepository ethTransactionRepository, StatsListener statsListener) -
Method Summary
Modifier and Type Method Description voidaccept(org.web3j.protocol.core.methods.response.EthBlock.Block block)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.Consumer
andThen
-
Constructor Details
-
EthBlockProcessor
public EthBlockProcessor(EthTransactionRepository ethTransactionRepository, StatsListener statsListener)
-
-
Method Details
-
accept
public void accept(org.web3j.protocol.core.methods.response.EthBlock.Block block)- Specified by:
acceptin interfacejava.util.function.Consumer<org.web3j.protocol.core.methods.response.EthBlock.Block>
-