AbstractCacheResponse.java 374 Bytes
package com.yoho.search.cache.model;

import com.yoho.search.base.utils.Transfer;

/**
 * 相应结果转String的序列化类
 * @param <Response>
 */
public abstract class AbstractCacheResponse<Response> {

    public abstract Transfer<String, Response> getToResponseTransfer();

    public abstract Transfer<Response, String> getFromResponseTransfer();

}