KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > activemq > kaha > StoreLocation


1 /**
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one or more
4  * contributor license agreements. See the NOTICE file distributed with this
5  * work for additional information regarding copyright ownership. The ASF
6  * licenses this file to You under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15  * License for the specific language governing permissions and limitations under
16  * the License.
17  */

18
19 package org.apache.activemq.kaha;
20
21 /**
22  * Location of a data in the Store
23  *
24  * @version $Revision: 1.2 $
25  */

26 public interface StoreLocation{
27
28     /**
29      * @return Returns the size.
30      */

31     public int getSize();
32
33     /**
34      * @return Returns the offset.
35      */

36     public long getOffset();
37
38     /**
39      * @return Returns the file.
40      */

41     public int getFile();
42 }
43
Popular Tags