You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/PartitionedService.java
+6-233Lines changed: 6 additions & 233 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
2
2
/*
3
-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
3
+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates.
4
4
*
5
5
* Licensed under the Universal Permissive License v 1.0 as shown at
6
6
* https://oss.oracle.com/licenses/upl.
@@ -28251,19 +28251,6 @@ public static class SnapshotController
28251
28251
*/
28252
28252
private volatile long __m_SnapshotNamesExpire;
28253
28253
28254
-
/**
28255
-
* A cache of failed snapshot names held for at most SNAPSHOT_NAMES_EXPIRE
28256
-
* millis after a SnapshotListRequest.
28257
-
*/
28258
-
private String[] __m_SnapshotFailures;
28259
-
28260
-
/**
28261
-
* An absolute time when SnapshotFailures should no longer be used.
28262
-
*
28263
-
* @volatile
28264
-
*/
28265
-
private volatile long __m_SnapshotFailuresExpire;
28266
-
28267
28254
/**
28268
28255
* Property State
28269
28256
*
@@ -28862,26 +28849,6 @@ protected long getSnapshotNamesExpire()
28862
28849
return __m_SnapshotNamesExpire;
28863
28850
}
28864
28851
28865
-
/**
28866
-
* Getter for property SnapshotFailures.<p>
28867
-
* A cache of snapshot names held for at most SNAPSHOT_NAMES_EXPIRE
28868
-
* millis after a SnapshotListRequest.
28869
-
*/
28870
-
protected String[] getSnapshotFailures()
28871
-
{
28872
-
return __m_SnapshotFailures;
28873
-
}
28874
-
28875
-
/**
28876
-
* An absolute time when SnapshotFailures should no longer be used.
28877
-
*
28878
-
* @volatile
28879
-
*/
28880
-
protected long getSnapshotFailuresExpire()
28881
-
{
28882
-
return __m_SnapshotFailuresExpire;
28883
-
}
28884
-
28885
28852
// From interface: com.tangosol.persistence.PersistenceManagerMBean
28886
28853
/**
28887
28854
* Return a list of snapshots that are available for recovery.
@@ -28921,41 +28888,6 @@ public String[] getSnapshots()
28921
28888
return asNames;
28922
28889
}
28923
28890
28924
-
/**
28925
-
* Return the list of failed snapshots.
28926
-
*
28927
-
* @return the list of failed snapshots
28928
-
*/
28929
-
public String[] listFailedSnapshots()
28930
-
{
28931
-
PartitionedService service = getService();
28932
-
if (service == null || !service.isRunning())
28933
-
{
28934
-
return null;
28935
-
}
28936
-
28937
-
if (Base.getSafeTimeMillis() < getSnapshotFailuresExpire() ||
28938
-
Thread.currentThread() == service.getThread())
28939
-
{
28940
-
// use the cached value if within the allowed staleness or if being asked
28941
-
// on the service thread, as it requires a poll to all storage-enabled members.
28942
-
// This question could only be asked meaningfully on the Management thread
28943
-
// but could be called during serialization of the model for initial
28944
-
// registration - see Registry.registerLocalModel()
0 commit comments