// Path: src/main/java/org/rakam/cache/hazelcast/hyperloglog/operations/ResetOperation.java
// public class ResetOperation extends HyperLogLogBackupAwareOperation {
// 
// 
//     public ResetOperation() {
//     }
// 
//     public ResetOperation(String name) {
//         super(name);
//     }
// 
//     @Override
//     public void run() throws IllegalArgumentException {
//         HLLWrapper hll = getHLL();
//         hll.reset();
//     }
// 
//     @Override
//     public int getId() {
//         return HyperLogLogSerializerFactory.RESET;
//     }
// 
//     @Override
//     public Operation getBackupOperation() {
//         return new ResetBackupOperation(name);
//     }
// }


import com.hazelcast.spi.Operation;
import org.rakam.cache.hazelcast.hyperloglog.operations.ResetOperation;
package org.rakam.cache.hazelcast.hyperloglog.client;


/**
 * Created by buremba <Burak Emre Kabakcı> on 11/07/14 16:18.
 */
public class ResetRequest extends WriteRequest {

    public ResetRequest(String name) {
        super(name);
    }

    public ResetRequest() {

    }

    @Override
    protected Operation prepareOperation() {
// Path: src/main/java/org/rakam/cache/hazelcast/hyperloglog/operations/ResetOperation.java
// public class ResetOperation extends HyperLogLogBackupAwareOperation {
// 
// 
//     public ResetOperation() {
//     }
// 
//     public ResetOperation(String name) {
//         super(name);
//     }
// 
//     @Override
//     public void run() throws IllegalArgumentException {
//         HLLWrapper hll = getHLL();
//         hll.reset();
//     }
// 
//     @Override
//     public int getId() {
//         return HyperLogLogSerializerFactory.RESET;
//     }
// 
//     @Override
//     public Operation getBackupOperation() {
//         return new ResetBackupOperation(name);
//     }
// }


// Path: src/main/java/org/rakam/cache/hazelcast/hyperloglog/client/ResetRequest.java
import com.hazelcast.spi.Operation;
import org.rakam.cache.hazelcast.hyperloglog.operations.ResetOperation;

package org.rakam.cache.hazelcast.hyperloglog.client;


/**
 * Created by buremba <Burak Emre Kabakcı> on 11/07/14 16:18.
 */
public class ResetRequest extends WriteRequest {

    public ResetRequest(String name) {
        super(name);
    }

    public ResetRequest() {

    }

    @Override
    protected Operation prepareOperation() {
        return new ResetOperation(name);