You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Max Hufnagel (Jira)" <ji...@apache.org> on 2022/03/31 18:12:00 UTC

[jira] [Created] (GEODE-10205) getDiskStore method described in the docs does not exist in the Java API

Max Hufnagel created GEODE-10205:
------------------------------------

             Summary: getDiskStore method described in the docs does not exist in the Java API
                 Key: GEODE-10205
                 URL: https://issues.apache.org/jira/browse/GEODE-10205
             Project: Geode
          Issue Type: Bug
          Components: docs
    Affects Versions: 1.14.4
            Reporter: Max Hufnagel


h2. Description
 
Looking at document
[https://geode.apache.org/docs/guide/114/managing/disk_storage/compacting_disk_stores.html|https://gemfire.docs.pivotal.io/910/geode/managing/disk_storage/compacting_disk_stores.html]

It states:
Compact the logs for a single online disk store through the API, with the forceCompaction method. This method first rolls the oplogs and then compacts them. Example:

myCache.getDiskStore("myDiskStore").forceCompaction();

In the Java API there is no getDiskStore method at all.

Also in the DiskStore Interface it says to use Cache.FindDiskStore(STRING) to find get an existing DiskStore object.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)