001/**
002 *
003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
004 *
005 * This library is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU Lesser General Public
007 * License as published by the Free Software Foundation; either 
008 * version 2.1 of the License, or (at your option) any later version.
009 * 
010 * This library is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 * Lesser General Public License for more details.
014 * 
015 * You should have received a copy of the GNU Lesser General Public 
016 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
017 * 
018 **/
019package coldfusion.server;
020
021import java.io.IOException;
022import java.util.Map;
023
024import javax.servlet.ServletContext;
025
026public interface GraphingService extends Service {
027
028        public abstract Map getSettings();
029
030        public abstract int getCacheType();
031
032        public abstract String getCachePath();
033
034        public abstract int getCacheSize();
035
036        public abstract int getMaxEngines();
037
038        public abstract String generateGraph(String arg0, int arg1, int arg2,
039                        String arg3, String arg4, String arg5, String arg6, boolean arg7);
040
041        public abstract String generateGraph(String arg0, int arg1, int arg2,
042                        String arg3, String arg4, String arg5, String arg6);
043
044        public abstract byte[] generateBytes(String arg0, int arg1, int arg2,
045                        String arg3, String arg4, String arg5) throws IOException;
046
047        public abstract byte[] generateBytes(String arg0, int arg1, int arg2,
048                        String arg3, String arg4, String arg5, boolean arg6)
049                        throws IOException;
050
051        public abstract byte[] getGraphData(String arg0, ServletContext arg1,
052                        boolean arg2) throws IOException;
053
054        public abstract void initializeEngine(ServletContext arg0);
055
056        public abstract void setUpWatermark();
057
058}