
com.alachisoft.ncache.client.internal.command.GetHashmapCommand Maven / Gradle / Ivy
package com.alachisoft.ncache.client.internal.command;
import com.alachisoft.ncache.common.protobuf.CommandProtocol;
import com.alachisoft.ncache.common.protobuf.GetHashmapCommandProtocol;
import com.alachisoft.ncache.runtime.exceptions.CommandException;
import java.io.IOException;
/**
* @author Administrator
*/
public class GetHashmapCommand extends Command {
public GetHashmapCommand()
{
name = "GetHashmapCommand";
}
@Override
protected void createCommand() throws CommandException {
_command= CommandProtocol.Command.newBuilder()
.setGetHashmapCommand(GetHashmapCommandProtocol.GetHashmapCommand
.newBuilder().setRequestId(this.getRequestId()))
.setRequestID(this.getRequestId())
.setType(CommandProtocol.Command.Type.GET_HASHMAP).build();
}
public CommandType getCommandType() {
return CommandType.GET_HASHMAP;
}
@Override
public RequestType getCommandRequestType() {
return RequestType.InternalCommand;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy