Examples of HistoryKey


Examples of fr.soleil.data.service.HistoryKey

            }
        }
    }

    protected HistoryKey getKey() {
        HistoryKey key = null;
        String producerId = (String) sourceProducerList.getSelectedValue();
        IKeyGenerator keyGen = keyGeneratorMap.get(producerId);
        if (keyGen != null) {
            IKey tmp;
            switch (dataTypeList.getSelectedIndex()) {
                case 0:
                    tmp = keyGen.getNumberScalarKey();
                    break;
                case 1:
                    tmp = keyGen.getBooleanScalarKey();
                    break;
                case 2:
                    tmp = keyGen.getSpectrumNumberMatrixKey();
                    break;
                case 3:
                    tmp = keyGen.getBooleanMatrixKey();
                    break;
                default:
                    tmp = null;
                    break;
            }
            // // Prefer using a non-refreshed source: we will use our own
            // // refreshing management
            // if (tmp instanceof TangoKey) {
            // TangoKeyTool.registerRefreshed(tmp, false);
            // }
            key = new HistoryKey(tmp);
        }
        return key;
    }
View Full Code Here

Examples of fr.soleil.data.service.HistoryKey

        TangoKey theKey = new TangoKey();
        TangoKeyTool.registerAttribute(theKey, getDeviceName(), getAttributeName());
        // Prefer using a non-refreshed source: we will use our own refreshing management
        TangoKeyTool.registerRefreshed(theKey, false);

        key = new HistoryKey(theKey);

        HISTORY_DATA_SOURCE_PRODUCER.setHistoryPeriod(key, 300 * 1000);
    }
View Full Code Here

Examples of org.jolokia.history.HistoryKey

        objectName = pObjectName;
    }

    public void setHistoryEntriesForAttribute(String pMBean, String pAttribute, String pPath, String pTarget, int pMaxEntries)
            throws MalformedObjectNameException {
        HistoryKey key = new HistoryKey(pMBean,pAttribute,pPath,pTarget);
        historyStore.configure(key,pMaxEntries);
    }
View Full Code Here

Examples of org.jolokia.history.HistoryKey

        HistoryKey key = new HistoryKey(pMBean,pAttribute,pPath,pTarget);
        historyStore.configure(key,pMaxEntries);
    }

    public void setHistoryEntriesForOperation(String pMBean, String pOperation, String pTarget, int pMaxEntries) throws MalformedObjectNameException {
        HistoryKey key = new HistoryKey(pMBean,pOperation,pTarget);
        historyStore.configure(key,pMaxEntries);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.