Package eu.antidotedb.client.transformer
Class LogTransformer
- java.lang.Object
-
- eu.antidotedb.client.transformer.TransformerWithDownstream
-
- eu.antidotedb.client.transformer.LogTransformer
-
- All Implemented Interfaces:
AntidoteRequest.Handler<AntidoteResponse>
,Transformer
public class LogTransformer extends TransformerWithDownstream
A Transformer, which logs all messages
-
-
Field Summary
Fields Modifier and Type Field Description static TransformerFactory
factory
-
Constructor Summary
Constructors Constructor Description LogTransformer(Transformer downstream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntidoteResponse
handle(AntidotePB.ApbAbortTransaction op)
AntidoteResponse
handle(AntidotePB.ApbCommitTransaction op)
AntidoteResponse
handle(AntidotePB.ApbReadObjects op)
AntidoteResponse
handle(AntidotePB.ApbStartTransaction op)
AntidoteResponse
handle(AntidotePB.ApbStaticReadObjects op)
AntidoteResponse
handle(AntidotePB.ApbStaticUpdateObjects op)
AntidoteResponse
handle(AntidotePB.ApbUpdateObjects op)
-
Methods inherited from class eu.antidotedb.client.transformer.TransformerWithDownstream
getDownstream
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.antidotedb.client.messages.AntidoteRequest.Handler
handle, handle, handle
-
-
-
-
Field Detail
-
factory
public static final TransformerFactory factory
-
-
Constructor Detail
-
LogTransformer
public LogTransformer(Transformer downstream)
-
-
Method Detail
-
handle
public AntidoteResponse handle(AntidotePB.ApbReadObjects op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
- Overrides:
handle
in classTransformerWithDownstream
-
handle
public AntidoteResponse handle(AntidotePB.ApbUpdateObjects op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
- Overrides:
handle
in classTransformerWithDownstream
-
handle
public AntidoteResponse handle(AntidotePB.ApbStartTransaction op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
- Overrides:
handle
in classTransformerWithDownstream
-
handle
public AntidoteResponse handle(AntidotePB.ApbAbortTransaction op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
- Overrides:
handle
in classTransformerWithDownstream
-
handle
public AntidoteResponse handle(AntidotePB.ApbCommitTransaction op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
- Overrides:
handle
in classTransformerWithDownstream
-
handle
public AntidoteResponse handle(AntidotePB.ApbStaticReadObjects op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
- Overrides:
handle
in classTransformerWithDownstream
-
handle
public AntidoteResponse handle(AntidotePB.ApbStaticUpdateObjects op)
- Specified by:
handle
in interfaceAntidoteRequest.Handler<AntidoteResponse>
- Overrides:
handle
in classTransformerWithDownstream
-
-