Class ReplCacheDemo

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ReplCacheDemo extends JPanel implements ActionListener
GUI demo of ReplCache
See Also:
  • Field Details

  • Constructor Details

    • ReplCacheDemo

      public ReplCacheDemo()
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Specified by:
      actionPerformed in interface ActionListener
    • clear

      private void clear()
    • startPerfTest

      private void startPerfTest()
    • start

      private void start(String props, String cluster_name, long rpc_timeout, long caching_time, boolean migrate_data, boolean use_l1_cache, int l1_max_entries, long l1_reaping_interval, int l2_max_entries, long l2_reaping_interval) throws Exception
      Throws:
      Exception
    • createButton

      private JButton createButton(String text)
    • createTextField

      private static JTextField createTextField(String name, int length)
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • setTitle

      void setTitle(String title)
    • help

      private static void help()