public class LoggingRefreshListener
extends java.lang.Object
implements com.netflix.hollow.api.consumer.HollowConsumer.RefreshListener
Constructor and Description |
---|
LoggingRefreshListener(java.lang.String logPrefix) |
Modifier and Type | Method and Description |
---|---|
void |
blobLoaded(com.netflix.hollow.api.consumer.HollowConsumer.Blob transition) |
void |
deltaUpdateOccurred(com.netflix.hollow.api.custom.HollowAPI api,
com.netflix.hollow.core.read.engine.HollowReadStateEngine stateEngine,
long version) |
void |
refreshFailed(long beforeVersion,
long afterVersion,
long requestedVersion,
java.lang.Throwable failureCause) |
void |
refreshStarted(long currentVersion,
long requestedVersion) |
void |
refreshSuccessful(long beforeVersion,
long afterVersion,
long requestedVersion) |
void |
snapshotUpdateOccurred(com.netflix.hollow.api.custom.HollowAPI api,
com.netflix.hollow.core.read.engine.HollowReadStateEngine stateEngine,
long version) |
public void refreshStarted(long currentVersion, long requestedVersion)
refreshStarted
in interface com.netflix.hollow.api.consumer.HollowConsumer.RefreshListener
public void snapshotUpdateOccurred(com.netflix.hollow.api.custom.HollowAPI api, com.netflix.hollow.core.read.engine.HollowReadStateEngine stateEngine, long version) throws java.lang.Exception
snapshotUpdateOccurred
in interface com.netflix.hollow.api.consumer.HollowConsumer.RefreshListener
java.lang.Exception
public void deltaUpdateOccurred(com.netflix.hollow.api.custom.HollowAPI api, com.netflix.hollow.core.read.engine.HollowReadStateEngine stateEngine, long version) throws java.lang.Exception
deltaUpdateOccurred
in interface com.netflix.hollow.api.consumer.HollowConsumer.RefreshListener
java.lang.Exception
public void blobLoaded(com.netflix.hollow.api.consumer.HollowConsumer.Blob transition)
blobLoaded
in interface com.netflix.hollow.api.consumer.HollowConsumer.RefreshListener
public void refreshSuccessful(long beforeVersion, long afterVersion, long requestedVersion)
refreshSuccessful
in interface com.netflix.hollow.api.consumer.HollowConsumer.RefreshListener
public void refreshFailed(long beforeVersion, long afterVersion, long requestedVersion, java.lang.Throwable failureCause)
refreshFailed
in interface com.netflix.hollow.api.consumer.HollowConsumer.RefreshListener
Copyright © 2021. All Rights Reserved.