Return-Path: X-Original-To: apmail-directmemory-dev-archive@www.apache.org Delivered-To: apmail-directmemory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F123C10B91 for ; Sun, 3 Nov 2013 13:40:24 +0000 (UTC) Received: (qmail 59382 invoked by uid 500); 3 Nov 2013 13:40:21 -0000 Delivered-To: apmail-directmemory-dev-archive@directmemory.apache.org Received: (qmail 59280 invoked by uid 500); 3 Nov 2013 13:40:21 -0000 Mailing-List: contact dev-help@directmemory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directmemory.apache.org Delivered-To: mailing list dev@directmemory.apache.org Received: (qmail 59254 invoked by uid 500); 3 Nov 2013 13:40:18 -0000 Delivered-To: apmail-incubator-directmemory-dev@incubator.apache.org Received: (qmail 59245 invoked by uid 99); 3 Nov 2013 13:40:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Nov 2013 13:40:18 +0000 Date: Sun, 3 Nov 2013 13:40:18 +0000 (UTC) From: "Oliver Lee (JIRA)" To: directmemory-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRECTMEMORY-135) code comment in MemoryManagerService.java is wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRECTMEMORY-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812367#comment-13812367 ] Oliver Lee commented on DIRECTMEMORY-135: ----------------------------------------- anybody replay? > code comment in MemoryManagerService.java is wrong > -------------------------------------------------- > > Key: DIRECTMEMORY-135 > URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-135 > Project: Apache DirectMemory > Issue Type: Improvement > Components: core > Affects Versions: Lightning-0.3.0 > Reporter: Oliver Lee > Priority: Minor > Fix For: Lightning-0.3.0 > > > right comment: > /** > * Same function as {@link #store(byte[])}, but add an relative expiration delta in milliseconds > * > * @param payload : the data to store > * @param expiresIn : relative amount of milliseconds the data will expire > * @return the pointer to the value, or null if not enough space has been found. > */ > Pointer store( byte[] payload, long expiresIn ); > /** > * Store function family. Store the given payload at a certain offset in a MemoryBuffer, returning the pointer to > * the value. > * > * @param payload : the data to store > * @return the pointer to the value, or null if not enough space has been found. > */ > Pointer store( byte[] payload ); -- This message was sent by Atlassian JIRA (v6.1#6144)