Tabnine Logo
UpfrontAllocatingPageSource.free
Code IndexAdd Tabnine to your IDE (free)

How to use
free
method
in
org.terracotta.offheapstore.paging.UpfrontAllocatingPageSource

Best Java code snippets using org.terracotta.offheapstore.paging.UpfrontAllocatingPageSource.free (Showing top 3 results out of 315)

origin: ehcache/ehcache3

@Override
public void free(Page page) {
 delegatePageSource.free(page);
}
origin: org.terracotta/offheap-store

for (Page p : targets) {
 victimAllocator.free(p.address(), p.size());
 free(p);
 if (results.contains(p)) {
  victimAllocator.free(p.address(), p.size());
  free(p);
 } else {
  failedReleases.add(p);
origin: Terracotta-OSS/offheap-store

for (Page p : targets) {
 victimAllocator.free(p.address(), p.size());
 free(p);
 if (results.contains(p)) {
  victimAllocator.free(p.address(), p.size());
  free(p);
 } else {
  failedReleases.add(p);
org.terracotta.offheapstore.pagingUpfrontAllocatingPageSourcefree

Javadoc

Frees the supplied buffer.

If the given buffer was not allocated by this source or has already been freed then an AssertionError is thrown.

Popular methods of UpfrontAllocatingPageSource

  • <init>
    Create an up-front allocating buffer source of toAllocate total bytes, in maximally sized chunks, wi
  • allocate
    Allocates a byte buffer of at least the given size. This BufferSource is limited to allocating regio
  • allocateAsThief
  • allocateBackingBuffers
    Allocate multiple buffers to fulfill the requested memory toAllocate. We first divide toAllocate in
  • allocateFromFree
  • bufferAllocation
  • createAllocatorLog
  • findVictimPages
  • fireThresholds
  • getAllocatedSize
  • getAllocatedSizeUnSync
  • isUnavailable
  • getAllocatedSizeUnSync,
  • isUnavailable,
  • markAllAvailable,
  • markUnavailable,
  • uninterruptibleGet

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSupportFragmentManager (FragmentActivity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JLabel (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now