Package org.neo4j.gds.core.loading
Interface HugeParallelGraphImporter<T extends java.lang.Runnable>
-
public interface HugeParallelGraphImporter<T extends java.lang.Runnable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
newImporter(long nodeOffset, org.neo4j.gds.collections.primitive.PrimitiveLongIterable nodeIds)
Return a newRunnable
.
-
-
-
Method Detail
-
newImporter
T newImporter(long nodeOffset, org.neo4j.gds.collections.primitive.PrimitiveLongIterable nodeIds)
Return a newRunnable
. This method is called on each Thread that performs the importing, possibly in concurrently, so this method must be thread-safe. Depending on the batch size and the number of available threads, the same thread may call this method multiple times. If this methods returns same instances across multiple calls from multiple threads, those instances have to be thread-safe as well.
-
-