net.minecraft.data

class DataCache$CachedDataWriter

implements DataWriter

net.minecraft.data.HashCache$CacheUpdater
net.minecraft.class_2408$class_7404
net.minecraft.data.DataCache$CachedDataWriter

Field summary

Modifier and TypeField
private final String
provider
field_40835
providerName
private final DataCache$CachedData
oldCache
field_38919
oldCache
private final DataCache$IntermediaryCache
newCache
field_38920
newCache
private final AtomicInteger
writes
field_38921
cacheMissCount
private volatile boolean
closed
field_40836
closed

Constructor summary

ModifierConstructor
private (String providerName, String version, DataCache$CachedData oldCache)

Method summary

Modifier and TypeMethod
private boolean
shouldWrite(Path path, com.google.common.hash.HashCode hash)
method_43355(Path arg0, com.google.common.hash.HashCode arg1)
isCacheInvalid(Path path, com.google.common.hash.HashCode hashCode)
public void
writeIfNeeded(Path path, byte[] input, com.google.common.hash.HashCode hash)
method_43346(Path arg0, byte[] arg1, com.google.common.hash.HashCode arg2)
write(Path arg0, byte[] arg1, com.google.common.hash.HashCode arg2)
public DataCache$RunResult
close()
method_46572()
finish()