/******************************************************************************* * Copyright (c) 2007, 2010 Association for Decentralized Information Management * in Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * VTT Technical Research Centre of Finland - initial API and implementation *******************************************************************************/ package fi.vtt.simantics.procore.internal; public final class ClusterStreamVirtual { /*extends ClusterStream { ClusterStreamVirtual(GraphSession graphSession) { super(graphSession); } void setOff(boolean value) { } void createResource(int operationIndex, long operationId, long clusterId) { if(DEBUG) System.out.println("ClusterStream.createResource oIndex=" + operationIndex + ", oId=" + operationId + ", cId=" + clusterId); } void addStatementIndex(int operationIndex, long operationId, long clusterId, byte op) { if(DEBUG) System.out.println("ClusterStream.addStatementIndex oIndex=" + operationIndex + ", oId=" + operationId + ", cId=" + clusterId + ", op=" + op); } void addStatement() { if(DEBUG) System.out.println("ClusterStream.addStatement."); } void cancelStatement() { if(DEBUG) System.out.println("ClusterStream.cancelStatement."); } void removeStatement(long clusterId) { if(DEBUG) System.out.println("ClusterStream.removeStatement cid=" + clusterId); } void cancelValue() { if(DEBUG) System.out.println("ClusterStream.cancelValue."); } void removeValue(long clusterId) { if(DEBUG) System.out.println("ClusterStream.removeValue cid=" + clusterId); } void setValue(long clusterId, byte[] bytes) { if(DEBUG) System.out.println("ClusterStream.setValue cid=" + clusterId + ", bytes=" + Arrays.toString(bytes)); } public void corruptCluster(long clusterId) throws DatabaseException { if(DEBUG) System.out.println("ClusterStream.corrupt cid=" + clusterId + "."); } void killFile(int resourceIndex, long clusterId) throws DatabaseException { if (DEBUG) System.out.println("kill file ri=" + resourceIndex + " cid=" + clusterId); } void modiFile(int resourceIndex, long clusterId, byte[] bytes, int offset, boolean lastSegment) throws DatabaseException { if (DEBUG) System.out.println("kill file ri=" + resourceIndex + " cid=" + clusterId); } boolean isEmpty() { return true; } void accept() { if (DEBUG) System.out.println("ClusterStream.accept."); } */ }