Source code: com/flexstor/common/threadmgr/ThreadConsumerI.java
1 /*
2 * ThreadConsumerI.java
3 *
4 * Copyright $Date: 2003/08/11 02:22:35 $ FLEXSTOR.net Inc.
5 *
6 * This work is licensed for use and distribution under license terms found at
7 * http://www.flexstor.org/license.html
8 *
9 */
10
11 package com.flexstor.common.threadmgr;
12
13 /**
14 * Consumer interface to be used with ThreadManager
15 * @author Dan Schroeder
16 * @version 3.0
17 */
18 public interface ThreadConsumerI
19 {
20 /**
21 * The method that will be called within the new thread.
22 * @param obj the parameter specified in ThreadManager.requestService();
23 */
24 public void processService ( Object obj );
25 }