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

org.rx.crawler.BrowserAsyncRequest Maven / Gradle / Ivy

package org.rx.crawler;

import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

import java.io.Serializable;
import java.util.UUID;

@Getter
@RequiredArgsConstructor
public class BrowserAsyncRequest implements Serializable, Comparable {
    private final UUID asyncId;
    private final int priority;
    private final String url;

    @Override
    public int compareTo(@NonNull BrowserAsyncRequest o) {
        return Integer.compare(priority, o.priority);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy