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

com.fizzed.bigmap.impl.BigObjectWeakReference Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package com.fizzed.bigmap.impl;

import com.fizzed.bigmap.BigObject;

import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.nio.file.Path;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;

public class BigObjectWeakReference extends WeakReference {

    private final UUID id;

    public BigObjectWeakReference(BigObject bigObject, ReferenceQueue referenceQueue) {
        super (bigObject, referenceQueue);
        this.id = bigObject.getId();
    }

    public UUID getId() {
        return id;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy