EMMA�Coverage�Report�(generated�Tue�Oct�27�11:32:50�PDT�2009)
[all�classes][net.spy.memcached.protocol.ascii]

COVERAGE�SUMMARY�FOR�SOURCE�FILE�[OptimizedGetImpl.java]

nameclass,�%method,�%block,�%line,�%
OptimizedGetImpl.java100%�(1/1)100%�(2/2)100%�(28/28)100%�(7/7)

COVERAGE�BREAKDOWN�BY�CLASS�AND�METHOD

nameclass,�%method,�%block,�%line,�%
class�OptimizedGetImpl100%�(1/1)100%�(2/2)100%�(28/28)100%�(7/7)
OptimizedGetImpl�(GetOperation):�void100%�(1/1)100%�(17/17)100%�(4/4)
addOperation�(GetOperation):�void100%�(1/1)100%�(11/11)100%�(3/3)

1package�net.spy.memcached.protocol.ascii;
2
3import�java.util.HashSet;
4
5import�net.spy.memcached.ops.GetOperation;
6import�net.spy.memcached.protocol.ProxyCallback;
7
8/**
9�*�Optimized�Get�operation�for�folding�a�bunch�of�gets�together.
10�*/
11final�class�OptimizedGetImpl�extends�GetOperationImpl�{
12
13��������private�final�ProxyCallback�pcb;
14
15��������/**
16���������*�Construct�an�optimized�get�starting�with�the�given�get�operation.
17���������*/
18��������public�OptimizedGetImpl(GetOperation�firstGet)�{
19����������������super(new�HashSet<String>(),�new�ProxyCallback());
20����������������pcb=(ProxyCallback)getCallback();
21����������������addOperation(firstGet);
22��������}
23
24��������/**
25���������*�Add�a�new�GetOperation�to�get.
26���������*/
27��������public�void�addOperation(GetOperation�o)�{
28����������������getKeys().addAll(o.getKeys());
29����������������pcb.addCallbacks(o);
30��������}
31}

[all�classes][net.spy.memcached.protocol.ascii]
EMMA�2.0.5312�(C)�Vladimir�Roubtsov