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

com.maxifier.mxcache.impl.caches.batch.ValueStrategy Maven / Gradle / Ivy

/*
 * Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
 */
package com.maxifier.mxcache.impl.caches.batch;

/**
 * @author Alexander Kochurov ([email protected])
 */
interface ValueStrategy {
    void addUnknown(V knownValues, C composer, int i, KE k);

    void addKnown(V knownValues, C composer, int i, KE k, VE v);

    V createValue(Class valueType, int n);

    C createComposer(int n);

    V compose(V knownValue, V calculated, C composition);

    VE get(V value, int index, KE key);

    boolean requiresOrder();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy