File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ public SegmentReader getReader() {
194194 public SegmentIdProvider getSegmentIdProvider () {
195195 return tracker ;
196196 }
197-
197+
198198 public int getBinariesInlineThreshold () {
199199 return binariesInlineThreshold ;
200200 }
@@ -204,6 +204,13 @@ public int getBinariesInlineThreshold() {
204204 */
205205 public abstract Revisions getRevisions ();
206206
207+ /**
208+ * Access to the tar files managed by subclasses.
209+ *
210+ * @return the tar files
211+ */
212+ protected abstract @ NotNull TarFiles getTarFiles ();
213+
207214 /**
208215 * Convenience method for accessing the root node for the current head.
209216 * This is equivalent to
Original file line number Diff line number Diff line change @@ -470,6 +470,11 @@ public TarRevisions getRevisions() {
470470 }
471471 }
472472
473+ @ Override
474+ protected @ NotNull TarFiles getTarFiles () {
475+ return tarFiles ;
476+ }
477+
473478 @ Override
474479 public void close () {
475480 try (ShutDownCloser ignored = shutDown .shutDown ()) {
Original file line number Diff line number Diff line change @@ -171,6 +171,11 @@ public ReadOnlyRevisions getRevisions() {
171171 return revisions ;
172172 }
173173
174+ @ Override
175+ protected @ NotNull TarFiles getTarFiles () {
176+ return tarFiles ;
177+ }
178+
174179 public Set <SegmentId > getReferencedSegmentIds () {
175180 return tracker .getReferencedSegmentIds ();
176181 }
You can’t perform that action at this time.
0 commit comments