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

com.g2forge.alexandria.java.io.dataaccess.IDataAccess Maven / Gradle / Ivy

package com.g2forge.alexandria.java.io.dataaccess;

import java.nio.channels.Channel;
import java.nio.file.Path;

import com.g2forge.alexandria.java.type.ref.ITypeRef;

public interface IDataAccess {
	public default void assertReady() {
		if (isUsed()) throw new IllegalStateException();
	}

	public  T getChannel(ITypeRef type);

	public Path getPath();

	public boolean isUsed();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy