System and method for providing a flexible buffer management interface in a distributed data grid
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.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method can provide a flexible buffer management interface in a distributed data grid. The buffer manager in the distributed data grid can receive a request from a requester for a buffer in the distributed data grid, wherein the request contains at least one parameter that provides an indication on the size of the requested buffer. Then, the buffer manager can allocate a buffer based on the indication in the request and provide the allocated buffer to the requester, wherein an actual size of the buffer is determined by the buffer manager.
19 Citations
18 Claims
-
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, and a 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, wherein if 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, and if 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 Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for providing a flexible buffer management interface in a distributed data grid, comprising:
-
a buffer manager operating on a distributed data grid; 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, and a running total buffer size method having a parameter which defines a total size of a previously acquired buffer; wherein said buffer manager is configured to receive 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; wherein said buffer manager is configured, in response to receiving a request, to allocate a buffer to the requestor based on the particular buffer acquisition method and the particular parameter, and provide an allocated buffer to the requestor, wherein if 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, and if 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. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer readable storage medium having instructions stored thereon that when executed by one or more processor cause said one or more processor to perform the steps of:
-
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, and a 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; and allocating a buffer to the requestor based on the particular buffer acquisition method and the particular parameter, wherein if 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, and if 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.
-
Specification