| synopsis || arguments || prev || next |

kdu_cache::get_next_mru_databin

Java: Kdu_cache::Get_next_mru_databin

virtual kdu_long get_next_mru_databin( int databin_class, kdu_long codestream_id, kdu_long databin_id, bool only_if_marked=false)

Java: long Get_next_mru_databin( int databin_class, long codestream_id, long databin_id, boolean only_if_marked)

[Declared in "../apps/compressed_io/kdu_cache.h"]

Go to class description.


Synopsis

Gets the next more recently used data-bin, within the indicated data-bin class and code-stream, after the data-bin identified by databin_id. If only_if_marked is true, the function skips over any data-bins which do not have the marking bit set.

If databin_id is negative, or does not refer to an existing data-bin with any representation in the cache, the function returns the identifier of the LEAST recently used data-bin in the indicated class.

If there are no data-bins more recently used than that identified by databin_id, the function returns -1.

See add_to_databin for an explanation of data-bin classes and identifiers.


Arguments

databin_class [int]

codestream_id [kdu_long]

databin_id [kdu_long]

only_if_marked [bool]


| top || synopsis || arguments || prev || next |