Update BaseMirrorFileSource

This commit is contained in:
Andrea Cavalli 2021-01-10 22:53:28 +01:00
parent 89c83e022a
commit 4b72294426

View File

@ -21,10 +21,13 @@ package org.warp.filesponge;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.warp.filesponge.api.FileSource; import org.warp.filesponge.api.FileSource;
import org.warp.filesponge.value.FileType;
import org.warp.filesponge.value.FileURI;
import org.warp.filesponge.value.MirrorURI; import org.warp.filesponge.value.MirrorURI;
@AllArgsConstructor(access = AccessLevel.PROTECTED) @AllArgsConstructor(access = AccessLevel.PROTECTED)
public abstract class BaseMirrorFileSource implements FileSource { public abstract class BaseMirrorFileSource<FURI extends FileURI, FTYPE extends FileType> implements
FileSource<FURI, FTYPE> {
protected final MirrorAvailabilityManager receiverAvailabilityManager; protected final MirrorAvailabilityManager receiverAvailabilityManager;
protected final MirrorURI mirrorURI; protected final MirrorURI mirrorURI;