EMMA Coverage Report (generated Tue Oct 27 11:32:50 PDT 2009) |
---|
[all classes][net.spy.memcached.protocol.binary] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
FlushOperationImpl.java | 100% (1/1) | 100% (3/3) | 100% (28/28) | 100% (7/7) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class FlushOperationImpl | 100% (1/1) | 100% (3/3) | 100% (28/28) | 100% (7/7) |
FlushOperationImpl (OperationCallback): void | 100% (1/1) | 100% (5/5) | 100% (2/2) | |
FlushOperationImpl (int, OperationCallback): void | 100% (1/1) | 100% (9/9) | 100% (3/3) | |
initialize (): void | 100% (1/1) | 100% (14/14) | 100% (2/2) |
1 | package net.spy.memcached.protocol.binary; |
2 | |
3 | import net.spy.memcached.ops.FlushOperation; |
4 | import net.spy.memcached.ops.OperationCallback; |
5 | |
6 | class FlushOperationImpl extends OperationImpl implements FlushOperation { |
7 | |
8 | private static final int CMD=8; |
9 | private final int delay; |
10 | |
11 | public FlushOperationImpl(OperationCallback cb) { |
12 | this(0, cb); |
13 | } |
14 | |
15 | public FlushOperationImpl(int d, OperationCallback cb) { |
16 | super(CMD, generateOpaque(), cb); |
17 | delay=d; |
18 | } |
19 | |
20 | @Override |
21 | public void initialize() { |
22 | prepareBuffer("", 0, EMPTY_BYTES, delay); |
23 | } |
24 | |
25 | } |
[all classes][net.spy.memcached.protocol.binary] |
EMMA 2.0.5312 (C) Vladimir Roubtsov |