如果有类关闭了流,那么结果将会是文件资源的泄露(参见图3)。
If neither class closes the stream, the result will be a file resource leak. (See Figure 3.)
另外,还提供一些类来在系统上创建新的后台打印文件,生成scs打印机数据流。
Additionally, classes are provided to create new spooled files on the system, and to generate SCS printer data streams.
典型的Oozie部署是一个HDFS目录,其中包含workflow . xml(代码1)、config - default . xml和lib子目录,其中包含有工作流操作所要使用的类的jar文件。
A typical Oozie deployment is a HDFS directory, containing workflow.xml (Listing 1), config-default.xml and a lib subdirectory, containing jar files of classes used by workflow actions.
下表列出了一些在使用流读取和写入文件时常用的类。
The following table lists some of the commonly used classes used for reading from and writing to files with streams.
必须在派生类中重写,并且在实现后为指定的工作流实例返回跟踪配置文件。
Must be overridden in the derived class, and when implemented, returns the tracking profile for the specified workflow instance.
必须在派生类中重写,并且在实现后为指定的工作流实例返回跟踪配置文件。
Must be overridden in the derived class, and when implemented, returns the tracking profile for the specified workflow instance.
应用推荐