com.fizzed.bigmap.impl.BigObjectWeakReference Maven / Gradle / Ivy
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