All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alachisoft.ncache.client.internal.util.HelperUtil Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
/*
 * 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy