EMMA Coverage Report (generated Tue Oct 27 11:32:50 PDT 2009) |
---|
[all classes][net.spy.memcached.ops] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
CASOperationStatus.java | 100% (1/1) | 100% (2/2) | 100% (11/11) | 100% (4/4) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class CASOperationStatus | 100% (1/1) | 100% (2/2) | 100% (11/11) | 100% (4/4) |
CASOperationStatus (boolean, String, CASResponse): void | 100% (1/1) | 100% (8/8) | 100% (3/3) | |
getCASResponse (): CASResponse | 100% (1/1) | 100% (3/3) | 100% (1/1) |
1 | package net.spy.memcached.ops; |
2 | |
3 | import net.spy.memcached.CASResponse; |
4 | |
5 | /** |
6 | * OperationStatus subclass for indicating CAS status. |
7 | */ |
8 | public class CASOperationStatus extends OperationStatus { |
9 | |
10 | private final CASResponse casResponse; |
11 | |
12 | public CASOperationStatus(boolean success, String msg, CASResponse cres) { |
13 | super(success, msg); |
14 | casResponse=cres; |
15 | } |
16 | |
17 | /** |
18 | * Get the CAS response indicated here. |
19 | */ |
20 | public CASResponse getCASResponse() { |
21 | return casResponse; |
22 | } |
23 | |
24 | } |
[all classes][net.spy.memcached.ops] |
EMMA 2.0.5312 (C) Vladimir Roubtsov |