com.alibaba.rocketmq.store
类 AllocateMapedFileService

java.lang.Object
  继承者 com.alibaba.rocketmq.common.ServiceThread
      继承者 com.alibaba.rocketmq.store.AllocateMapedFileService
所有已实现的接口:
Runnable

public class AllocateMapedFileService
extends ServiceThread

Create MapedFile in advance

从以下版本开始:
2013-7-21
作者:
shijia.wxr

字段摘要
 
从类 com.alibaba.rocketmq.common.ServiceThread 继承的字段
hasNotified, stoped, thread
 
构造方法摘要
AllocateMapedFileService()
           
 
方法摘要
 String getServiceName()
           
 MapedFile putRequestAndReturnMapedFile(String nextFilePath, String nextNextFilePath, int fileSize)
           
 void run()
           
 void shutdown()
           
 
从类 com.alibaba.rocketmq.common.ServiceThread 继承的方法
getJointime, isStoped, makeStop, onWaitEnd, shutdown, start, stop, stop, waitForRunning, wakeup
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AllocateMapedFileService

public AllocateMapedFileService()
方法详细信息

putRequestAndReturnMapedFile

public MapedFile putRequestAndReturnMapedFile(String nextFilePath,
                                              String nextNextFilePath,
                                              int fileSize)

getServiceName

public String getServiceName()
指定者:
ServiceThread 中的 getServiceName

shutdown

public void shutdown()
覆盖:
ServiceThread 中的 shutdown

run

public void run()


Copyright © 2012–2015. All rights reserved.