×

System and method for providing a flexible buffer management interface in a distributed data grid

  • US 8,874,811 B2
  • Filed: 11/07/2012
  • Issued: 10/28/2014
  • Est. Priority Date: 10/15/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for providing a flexible buffer management interface in a distributed data grid, comprising:

  • providing a buffer manager operating on a distributed data grid;

    providing a flexible buffer management interface for said buffer manager, wherein the flexible buffer management interface defines a plurality of different buffer acquisition methods, wherein said plurality of different buffer acquisition methods include,a minimum buffer size method having a parameter which defines a minimum size of the requested buffer,a preferred buffer size method having a parameter which defines a preferred size of the requested buffer, anda running total buffer size method having a parameter which defines a total size of a previously acquired buffer;

    receiving, with said buffer manager, a request from a requester for a buffer in the distributed data grid, wherein the request comprises a particular buffer acquisition method of said plurality of different buffer acquisition methods and a particular parameter that provides an indication on a size of the buffer;

    allocating a buffer to the requestor based on the particular buffer acquisition method and the particular parameter, whereinif the particular buffer acquisition method is the minimum buffer size method, said buffer manager allocates an allocated buffer having a size not less than the minimum size specified by the particular parameter,if the particular buffer acquisition method is the preferred buffer size method, said buffer manager allocates an allocated buffer having a size which may be less than the preferred size defined by the particular parameter, andif the particular buffer acquisition method is the running total buffer size method, said buffer manager allocates an allocated buffer having a size determined based on the total size of a previously acquired buffer defined by the particular parameter, wherein if said buffer manager determines that said requestor has made a plurality of previous related buffer requests, the buffer manager allocates an allocated buffer at least twice as large as the size of a previously acquired buffer defined by the particular parameter; and

    providing the allocated buffer to the requester.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×