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

io.ipinfo.api.cache.NoCache Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package io.ipinfo.api.cache;


import io.ipinfo.api.model.ASNResponse;
import io.ipinfo.api.model.IPResponse;

public class NoCache implements Cache {
    @Override
    public IPResponse getIp(String ip) {
        return null;
    }

    @Override
    public ASNResponse getAsn(String asn) {
        return null;
    }

    @Override
    public boolean setIp(String ip, IPResponse response) {
        return false;
    }

    @Override
    public boolean setAsn(String asn, ASNResponse response) {
        return false;
    }

    @Override
    public boolean clear() {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy