com.alachisoft.ncache.client.internal.util.HelperUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ncache-professional-client Show documentation
Show all versions of ncache-professional-client Show documentation
NCache Professional client for java.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.alachisoft.ncache.client.internal.util;
import com.alachisoft.ncache.client.CacheItemVersion;
import com.alachisoft.ncache.client.internal.command.CommandOptions;
import com.alachisoft.ncache.client.internal.command.CommandResponse;
import java.io.*;
import java.net.Socket;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
/**
* @author asad
*/
public class HelperUtil {
public static CacheItemVersion createCacheItemVersion(long version) {
CacheItemVersion itemVersion = new CacheItemVersion();
itemVersion.setVersion(version);
return itemVersion;
}
}