You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directmemory.apache.org by si...@apache.org on 2012/02/26 18:24:28 UTC
svn commit: r1293882 -
/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java
Author: simonetripodi
Date: Sun Feb 26 17:24:28 2012
New Revision: 1293882
URL: http://svn.apache.org/viewvc?rev=1293882&view=rev
Log:
just relocated license header location
Modified:
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java
Modified: incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java
URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java?rev=1293882&r1=1293881&r2=1293882&view=diff
==============================================================================
--- incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java (original)
+++ incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java Sun Feb 26 17:24:28 2012
@@ -1,7 +1,5 @@
package org.apache.directmemory.memory;
-import java.nio.ByteBuffer;
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -10,9 +8,9 @@ import java.nio.ByteBuffer;
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -21,6 +19,8 @@ import java.nio.ByteBuffer;
* under the License.
*/
+import java.nio.ByteBuffer;
+
public interface Pointer<T>
{
@@ -61,7 +61,7 @@ public interface Pointer<T>
void setDirectBuffer( ByteBuffer directBuffer );
void createdNow();
-
+
void setExpiration( long expires, long expiresIn );
}