APISonar


org.neo4j.causalclustering.logging.MessageLogger.log

> org > neo4j > causalclustering > logging > MessageLogger > log
org APIs neo4j APIs causalclustering APIs logging APIs MessageLogger APIs log APIs

Example 1
private final MessageLogger<MemberId> messageLogger;

    public void registerHandler( final MessageHandler<M> handler )
    {
        inbound.registerHandler( new MessageHandler<M>()
        {
            public synchronized void handle( M message )
            {
                messageLogger.log( me, message );
                handler.handle( message );
            }
        } );
    }
Example 2
private final MessageLogger<MEMBER> messageLogger;

    public void send( MEMBER to, MESSAGE message )
    {
        messageLogger.log( me, to, message );
        outbound.send( to, message );
    }