Created
April 17, 2012 11:26
-
-
Save lennartkoopmann/2405409 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GraylogServerStub extends GraylogServer { | |
public int callsToProcessBufferInserter = 0; | |
public LogMessage lastInsertedToProcessBuffer = new LogMessage(); | |
@Override | |
public ProcessBuffer getProcessBuffer() { | |
// The process buffer stuf writes back to our counter instance variables. | |
return new ProcessBufferStub(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment