📄 containerlocation.java
字号:
// You can redistribute this software and/or modify it under the terms of// the Ozone Core License version 1 published by ozone-db.org.//// Copyright (C) 2003-@year@, Leo Mekenkamp. All rights reserved.//// $Id: ContainerLocation.java,v 1.3 2004/03/21 21:05:51 leomekenkamp Exp $package org.ozoneDB.core.storage.gammaStore;/** * Holds information on where exactly object data has been (or can be) * persisted. Objects are written to clusters, where the position has the * offset of where within a cluster the serialized object data starts. * * @author <a href="mailto:leoATmekenkampD0Tcom">Leo Mekenkamp (mind the anti sp@m)</a> * @version $Id: ContainerLocation.java,v 1.3 2004/03/21 21:05:51 leomekenkamp Exp $ */public final class ContainerLocation { private int dataFileId; private int position; public ContainerLocation() { } public ContainerLocation(int dataFileId, int position) { this.dataFileId = dataFileId; this.position = position; } public String toString() { return "(dataFileId: " + dataFileId + "; pos: " + position + ")"; } public int getDataFileId() { return dataFileId; } public int getPosition() { return position; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -